Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 168.9 kB / 23.02 MB, free: 1.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.915/0.915, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001627/0.001627, allocations: 237.9 kB / 260.2 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7053/0.7053, allocations: 138.4 MB / 455.2 MB, free: 1.566 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.893e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004013/0.004042, allocations: 2.495 MB / 0.5576 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.006086, allocations: 1.242 MB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.006209, allocations: 4 kB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.006715, allocations: 111.4 kB / 0.5589 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.007115, allocations: 183 kB / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.007498, allocations: 163.5 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.007885, allocations: 330.8 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.008227, allocations: 177 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.008525, allocations: 199.4 kB / 0.5599 GB, free: 11.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.008813, allocations: 159.6 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.008852, allocations: 20 kB / 0.5601 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.009112, allocations: 151.7 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.009235, allocations: 107.7 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.00934, allocations: 95.7 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.009774, allocations: 295 kB / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.009776, allocations: 0 / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009778, allocations: 0 / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.009784, allocations: 0 / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000862/0.01065, allocations: 0.574 MB / 0.5612 GB, free: 10.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.01069, allocations: 12.75 kB / 0.5612 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007201/0.01141, allocations: 140.5 kB / 0.5614 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.0117, allocations: 204.2 kB / 0.5616 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01172, allocations: 16.86 kB / 0.5616 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.01181, allocations: 28.55 kB / 0.5616 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.01226, allocations: 307.2 kB / 0.5619 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01228, allocations: 192 / 0.5619 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.01231, allocations: 20.06 kB / 0.5619 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-05/0.01239, allocations: 28.48 kB / 0.562 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.01268, allocations: 126.8 kB / 0.5621 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01404, allocations: 1.174 MB / 0.5632 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.01437, allocations: 162.8 kB / 0.5634 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.01446, allocations: 47.98 kB / 0.5634 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.25e-05/0.01455, allocations: 15.89 kB / 0.5634 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.01458, allocations: 37.39 kB / 0.5635 GB, free: 7.762 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.01458, allocations: 0 / 0.5635 GB, free: 7.762 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.000915/0.0155, allocations: 458.9 kB / 0.5639 GB, free: 7.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.01553, allocations: 55.41 kB / 0.564 GB, free: 7.215 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01571, allocations: 234.5 kB / 0.5642 GB, free: 6.969 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.01573, allocations: 33.7 kB / 0.5642 GB, free: 6.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01584, allocations: 215.2 kB / 0.5644 GB, free: 6.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.01589, allocations: 67.44 kB / 0.5645 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.01599, allocations: 63.3 kB / 0.5646 GB, free: 6.578 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.01614, allocations: 0.4962 MB / 0.565 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01625, allocations: 43.97 kB / 0.5651 GB, free: 6.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.0164, allocations: 129.7 kB / 0.5652 GB, free: 5.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.01666, allocations: 185.2 kB / 0.5654 GB, free: 5.664 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01666, allocations: 0 / 0.5654 GB, free: 5.664 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005612/0.01722, allocations: 272.9 kB / 0.5656 GB, free: 5.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01724, allocations: 7.938 kB / 0.5656 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01725, allocations: 4 kB / 0.5656 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/0.01776, allocations: 103.8 kB / 0.5657 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.01797, allocations: 55.91 kB / 0.5658 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.01955, allocations: 1.924 MB / 0.5677 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01971, allocations: 20.02 kB / 0.5677 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.01973, allocations: 8 kB / 0.5677 GB, free: 3.145 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.01985, allocations: 168.5 kB / 0.5679 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.01991, allocations: 31.78 kB / 0.5679 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.02025, allocations: 175.4 kB / 0.5681 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.02025, allocations: 4 kB / 0.5681 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.02025, allocations: 4 kB / 0.5681 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.02026, allocations: 3.984 kB / 0.5681 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.02092, allocations: 0.5279 MB / 0.5686 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02092, allocations: 3.938 kB / 0.5686 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.02116, allocations: 59.89 kB / 0.5687 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.02116, allocations: 0 / 0.5687 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.02119, allocations: 8 kB / 0.5687 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.02119, allocations: 0 / 0.5687 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02119, allocations: 0 / 0.5687 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.02161, allocations: 385.4 kB / 0.569 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.02168, allocations: 35.88 kB / 0.5691 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.02171, allocations: 4 kB / 0.5691 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.02184, allocations: 11.98 kB / 0.5691 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.02189, allocations: 19.97 kB / 0.5691 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.0219, allocations: 11.94 kB / 0.5691 GB, free: 1.609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.02201, allocations: 167.4 kB / 0.5693 GB, free: 1.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02201, allocations: 0 / 0.5693 GB, free: 1.445 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.0224, allocations: 64 kB / 0.5693 GB, free: 1.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/0.02256, allocations: 115.2 kB / 0.5694 GB, free: 1.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.02313, allocations: 353.2 kB / 0.5698 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02313, allocations: 0 / 0.5698 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.02324, allocations: 78.81 kB / 0.5699 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.02363, allocations: 35.11 kB / 0.5699 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.02493, allocations: 0.5485 MB / 0.5704 GB, free: 204 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.405e-05/0.02501, allocations: 100.3 kB / 0.5705 GB, free: 84 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.02516, allocations: 49.91 kB / 0.5706 GB, free: 28 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.02522, allocations: 16.5 kB / 0.5706 GB, free: 12 kB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02522, allocations: 0 / 0.5706 GB, free: 12 kB / 490.7 MB Notification: Performance of Templates: time 0.006239/0.03146, allocations: 2.916 MB / 0.5734 GB, free: 13.14 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562260165810585]