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.001201/0.001201, allocations: 93.06 kB / 19.65 MB, free: 276 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.001366/0.001366, allocations: 165 kB / 23.02 MB, free: 1.551 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.9296/0.9296, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001673/0.001673, allocations: 232.5 kB / 260.2 MB, free: 12.82 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.7112/0.7112, allocations: 138.4 MB / 455.2 MB, free: 1.535 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 2.365e-06/2.365e-06, allocations: 4 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/2.017e-05, allocations: 5.266 kB / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002842/0.002862, allocations: 2.507 MB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004408, allocations: 1.242 MB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004509, allocations: 7.938 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.004927, allocations: 99.45 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.005214, allocations: 194.9 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.005465, allocations: 151.5 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.005738, allocations: 330.9 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.006148, allocations: 184.9 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.006372, allocations: 195.5 kB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.006602, allocations: 155.6 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.006631, allocations: 20 kB / 0.56 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.006826, allocations: 159.6 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.006914, allocations: 107.7 kB / 0.5603 GB, free: 11.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.006991, allocations: 87.81 kB / 0.5604 GB, free: 11.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.007311, allocations: 299 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007314, allocations: 0 / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.007314, allocations: 0 / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.007319, allocations: 0 / 0.5607 GB, free: 10.79 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.0006248/0.007944, allocations: 0.5779 MB / 0.5612 GB, free: 10.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.007978, allocations: 8.75 kB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.008437, allocations: 144.4 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.00865, allocations: 198.8 kB / 0.5616 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.008666, allocations: 20.86 kB / 0.5616 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.008739, allocations: 24.56 kB / 0.5616 GB, free: 9.762 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.009052, allocations: 307.1 kB / 0.5619 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009063, allocations: 192 / 0.5619 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.009085, allocations: 16.12 kB / 0.5619 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.009144, allocations: 28.48 kB / 0.5619 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.009337, allocations: 126.8 kB / 0.5621 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.0106, allocations: 1.186 MB / 0.5632 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.01084, allocations: 150 kB / 0.5634 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.01091, allocations: 47.98 kB / 0.5634 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.117e-05/0.01099, allocations: 19.89 kB / 0.5634 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.01101, allocations: 41.33 kB / 0.5635 GB, free: 7.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.01101, allocations: 0 / 0.5635 GB, free: 7.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006694/0.01168, allocations: 452.9 kB / 0.5639 GB, free: 7.254 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.0117, allocations: 55.41 kB / 0.564 GB, free: 7.188 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.01183, allocations: 234.5 kB / 0.5642 GB, free: 6.941 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.01185, allocations: 33.7 kB / 0.5642 GB, free: 6.902 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.01192, allocations: 215.2 kB / 0.5644 GB, free: 6.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.01196, allocations: 71.42 kB / 0.5645 GB, free: 6.617 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.01203, allocations: 67.3 kB / 0.5646 GB, free: 6.543 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01213, allocations: 0.4962 MB / 0.565 GB, free: 6.035 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.0122, allocations: 43.97 kB / 0.5651 GB, free: 5.992 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01231, allocations: 121.8 kB / 0.5652 GB, free: 5.844 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01249, allocations: 185 kB / 0.5654 GB, free: 5.637 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01249, allocations: 4 kB / 0.5654 GB, free: 5.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003951/0.01288, allocations: 268.9 kB / 0.5656 GB, free: 5.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.0129, allocations: 4 kB / 0.5656 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.0129, allocations: 4 kB / 0.5656 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.01327, allocations: 103.8 kB / 0.5657 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.01341, allocations: 59.84 kB / 0.5658 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.01448, allocations: 1.916 MB / 0.5677 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01459, allocations: 15.98 kB / 0.5677 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.01461, allocations: 16.03 kB / 0.5677 GB, free: 3.121 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 8.928e-05/0.0147, allocations: 176.4 kB / 0.5679 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.01474, allocations: 23.84 kB / 0.5679 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.01498, allocations: 181.8 kB / 0.5681 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01498, allocations: 4 kB / 0.5681 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01498, allocations: 3.984 kB / 0.5681 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01498, allocations: 3.938 kB / 0.5681 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.01544, allocations: 0.527 MB / 0.5686 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01545, allocations: 0 / 0.5686 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.0156, allocations: 59.95 kB / 0.5686 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01561, allocations: 0 / 0.5686 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01562, allocations: 8.125 kB / 0.5687 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01562, allocations: 4 kB / 0.5687 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01562, allocations: 7.875 kB / 0.5687 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.0159, allocations: 375 kB / 0.569 GB, free: 1.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.01595, allocations: 31.88 kB / 0.5691 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01597, allocations: 12.09 kB / 0.5691 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.01606, allocations: 11.98 kB / 0.5691 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.01609, allocations: 15.97 kB / 0.5691 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.0161, allocations: 11.94 kB / 0.5691 GB, free: 1.586 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.01617, allocations: 167.4 kB / 0.5693 GB, free: 1.422 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01617, allocations: 0 / 0.5693 GB, free: 1.422 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.0164, allocations: 71.92 kB / 0.5693 GB, free: 1.352 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.0001057/0.0165, allocations: 99.25 kB / 0.5694 GB, free: 1.246 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/0.01691, allocations: 365.1 kB / 0.5698 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01692, allocations: 0 / 0.5698 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.01699, allocations: 71.59 kB / 0.5698 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01723, allocations: 27.73 kB / 0.5699 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.01838, allocations: 0.5524 MB / 0.5704 GB, free: 184 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.621e-05/0.01844, allocations: 100.3 kB / 0.5705 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.01854, allocations: 49.89 kB / 0.5706 GB, free: 8 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.0186, allocations: 20.58 kB / 0.5706 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.0186, allocations: 0 / 0.5706 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.004333/0.02294, allocations: 2.814 MB / 0.5733 GB, free: 13.21 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.7310121660120785]