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.001829/0.001829, allocations: 85.48 kB / 19.44 MB, free: 344 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.002013/0.002013, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.003238/0.003238, allocations: 234.7 kB / 259.8 MB, free: 12.86 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 1.169/1.169, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.263e-06/1.263e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.609e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005382/0.005408, allocations: 3.138 MB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.008667, allocations: 1.749 MB / 0.5591 GB, free: 11.97 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.00877, allocations: 7.938 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.009905, allocations: 342.6 kB / 0.5594 GB, free: 11.62 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.0104, allocations: 222.8 kB / 0.5596 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.01087, allocations: 175.4 kB / 0.5598 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.0113, allocations: 318.9 kB / 0.5601 GB, free: 10.92 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/0.01165, allocations: 177 kB / 0.5603 GB, free: 10.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.01199, allocations: 195.4 kB / 0.5605 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.01232, allocations: 159.6 kB / 0.5606 GB, free: 10.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.01237, allocations: 20 kB / 0.5606 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.01278, allocations: 223.4 kB / 0.5608 GB, free: 10.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01293, allocations: 111.7 kB / 0.561 GB, free: 10.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.01307, allocations: 87.75 kB / 0.561 GB, free: 9.961 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.01373, allocations: 442.7 kB / 0.5615 GB, free: 9.527 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01373, allocations: 4 kB / 0.5615 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01373, allocations: 3.938 kB / 0.5615 GB, free: 9.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.01375, allocations: 0 / 0.5615 GB, free: 9.52 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.001067/0.01481, allocations: 0.5892 MB / 0.562 GB, free: 8.895 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.01485, allocations: 12.75 kB / 0.5621 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008277/0.01568, allocations: 140.5 kB / 0.5622 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.01606, allocations: 200.2 kB / 0.5624 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.01609, allocations: 16.88 kB / 0.5624 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.01619, allocations: 24.55 kB / 0.5624 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.01677, allocations: 335.1 kB / 0.5627 GB, free: 8.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.01678, allocations: 4.188 kB / 0.5627 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.01682, allocations: 16.11 kB / 0.5628 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.01692, allocations: 28.48 kB / 0.5628 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.01729, allocations: 157.8 kB / 0.5629 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.01927, allocations: 1.24 MB / 0.5641 GB, free: 6.617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.01967, allocations: 143 kB / 0.5643 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01978, allocations: 51.98 kB / 0.5643 GB, free: 6.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.01989, allocations: 11.91 kB / 0.5643 GB, free: 6.398 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.01993, allocations: 41.38 kB / 0.5644 GB, free: 6.348 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.01993, allocations: 4 kB / 0.5644 GB, free: 6.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.001079/0.02101, allocations: 474.7 kB / 0.5648 GB, free: 5.848 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.02105, allocations: 55.34 kB / 0.5649 GB, free: 5.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.02131, allocations: 258.5 kB / 0.5651 GB, free: 5.512 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.02135, allocations: 33.7 kB / 0.5652 GB, free: 5.473 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.0215, allocations: 215.2 kB / 0.5654 GB, free: 5.258 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.0216, allocations: 83.38 kB / 0.5655 GB, free: 5.176 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02171, allocations: 59.36 kB / 0.5655 GB, free: 5.109 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002921/0.02201, allocations: 0.5118 MB / 0.566 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.02214, allocations: 51.97 kB / 0.5661 GB, free: 4.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.02235, allocations: 133.8 kB / 0.5662 GB, free: 4.375 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.02271, allocations: 216.9 kB / 0.5664 GB, free: 4.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.02271, allocations: 4 kB / 0.5664 GB, free: 4.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007302/0.02344, allocations: 288.9 kB / 0.5667 GB, free: 3.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.02346, allocations: 8 kB / 0.5667 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.02346, allocations: 0 / 0.5667 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.0242, allocations: 111.8 kB / 0.5668 GB, free: 3.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.02446, allocations: 63.83 kB / 0.5669 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.02673, allocations: 1.959 MB / 0.5688 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.02694, allocations: 15.98 kB / 0.5688 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02697, allocations: 16.03 kB / 0.5688 GB, free: 1.543 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.0001653/0.02714, allocations: 176.4 kB / 0.569 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.02721, allocations: 31.78 kB / 0.569 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.02765, allocations: 191.6 kB / 0.5692 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.02766, allocations: 4 kB / 0.5692 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.02766, allocations: 0 / 0.5692 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02766, allocations: 0 / 0.5692 GB, free: 1.125 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.0286, allocations: 0.5708 MB / 0.5697 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.0286, allocations: 0 / 0.5697 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.02892, allocations: 51.95 kB / 0.5698 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.02892, allocations: 4 kB / 0.5698 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.02895, allocations: 4 kB / 0.5698 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02895, allocations: 4 kB / 0.5698 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02895, allocations: 0 / 0.5698 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.0295, allocations: 409.1 kB / 0.5702 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.02963, allocations: 31.89 kB / 0.5702 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.02967, allocations: 8.094 kB / 0.5702 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.02986, allocations: 15.97 kB / 0.5702 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.0299, allocations: 11.98 kB / 0.5703 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.02992, allocations: 11.94 kB / 0.5703 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001689/0.03009, allocations: 183.4 kB / 0.5704 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03009, allocations: 0 / 0.5704 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003634/0.03045, allocations: 68 kB / 0.5705 GB, free: 15.7 MB / 0.4948 GB 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.0001662/0.03062, allocations: 103.2 kB / 0.5706 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.03135, allocations: 385.1 kB / 0.571 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03136, allocations: 0 / 0.571 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.0315, allocations: 75.59 kB / 0.571 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.03188, allocations: 43.8 kB / 0.5711 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.03302, allocations: 0.5447 MB / 0.5716 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.0332, allocations: 149.2 kB / 0.5718 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.03336, allocations: 49.89 kB / 0.5718 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.03343, allocations: 20.5 kB / 0.5718 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.03343, allocations: 4 kB / 0.5718 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.00735/0.04078, allocations: 2.812 MB / 0.5746 GB, free: 11.48 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: 5.925016868044622]