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.001027/0.001027, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.002029/0.002029, allocations: 173 kB / 23.49 MB, free: 1.059 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.9309/0.9309, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.002549/0.002549, allocations: 244.7 kB / 260.5 MB, free: 12.91 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.7396/0.7396, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.373e-06/1.373e-06, allocations: 0 / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.004e-05, allocations: 2.312 kB / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004373/0.004393, allocations: 3.177 MB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.006783, allocations: 1.761 MB / 0.5599 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.006908, allocations: 7.938 kB / 0.5599 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.007663, allocations: 338.6 kB / 0.5602 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.008093, allocations: 218.8 kB / 0.5604 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.008473, allocations: 179.4 kB / 0.5606 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.008825, allocations: 326.8 kB / 0.5609 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.009129, allocations: 173 kB / 0.561 GB, free: 10.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.009402, allocations: 199.5 kB / 0.5612 GB, free: 10.49 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.009664, allocations: 147.6 kB / 0.5614 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.009697, allocations: 20 kB / 0.5614 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.01001, allocations: 231.4 kB / 0.5616 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.01012, allocations: 107.7 kB / 0.5617 GB, free: 9.992 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.01021, allocations: 87.81 kB / 0.5618 GB, free: 9.906 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.01064, allocations: 338.9 kB / 0.5621 GB, free: 9.574 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01064, allocations: 0 / 0.5621 GB, free: 9.574 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01064, allocations: 0 / 0.5621 GB, free: 9.574 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.01065, allocations: 0 / 0.5621 GB, free: 9.574 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.0007181/0.01137, allocations: 0.5778 MB / 0.5627 GB, free: 8.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.0114, allocations: 8.75 kB / 0.5627 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.0121, allocations: 140.5 kB / 0.5628 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.01237, allocations: 210.7 kB / 0.563 GB, free: 8.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01239, allocations: 16.88 kB / 0.563 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.01248, allocations: 28.55 kB / 0.5631 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.01288, allocations: 307.1 kB / 0.5634 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01289, allocations: 192 / 0.5634 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.01292, allocations: 16.12 kB / 0.5634 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.679e-05/0.013, allocations: 32.47 kB / 0.5634 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.01326, allocations: 122.8 kB / 0.5635 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.0147, allocations: 1.186 MB / 0.5647 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.01498, allocations: 143 kB / 0.5648 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.01507, allocations: 55.66 kB / 0.5649 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-05/0.01515, allocations: 11.94 kB / 0.5649 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01517, allocations: 33.7 kB / 0.5649 GB, free: 6.527 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.01517, allocations: 0 / 0.5649 GB, free: 6.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.000817/0.01599, allocations: 468 kB / 0.5654 GB, free: 6.035 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.01602, allocations: 51.41 kB / 0.5654 GB, free: 5.973 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01619, allocations: 242.5 kB / 0.5656 GB, free: 5.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.0162, allocations: 25.7 kB / 0.5657 GB, free: 5.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.0163, allocations: 215.2 kB / 0.5659 GB, free: 5.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.01635, allocations: 75.38 kB / 0.5659 GB, free: 5.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.01644, allocations: 63.3 kB / 0.566 GB, free: 5.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01656, allocations: 0.4962 MB / 0.5665 GB, free: 4.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.01665, allocations: 47.97 kB / 0.5665 GB, free: 4.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.0168, allocations: 129.8 kB / 0.5667 GB, free: 4.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01703, allocations: 181.6 kB / 0.5668 GB, free: 4.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01703, allocations: 0 / 0.5668 GB, free: 4.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005172/0.01755, allocations: 280.2 kB / 0.5671 GB, free: 4.129 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01757, allocations: 8 kB / 0.5671 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01757, allocations: 0 / 0.5671 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.01803, allocations: 103.7 kB / 0.5672 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.01821, allocations: 59.83 kB / 0.5673 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.01957, allocations: 1.92 MB / 0.5691 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01971, allocations: 15.98 kB / 0.5692 GB, free: 1.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.01973, allocations: 8 kB / 0.5692 GB, free: 1.895 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.0001073/0.01984, allocations: 172.5 kB / 0.5693 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.01989, allocations: 27.84 kB / 0.5694 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.02019, allocations: 181.8 kB / 0.5695 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0202, allocations: 0 / 0.5695 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.0202, allocations: 0 / 0.5695 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.0202, allocations: 0 / 0.5695 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.02079, allocations: 0.5317 MB / 0.57 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.0208, allocations: 4 kB / 0.57 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.021, allocations: 51.95 kB / 0.5701 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.02101, allocations: 7.938 kB / 0.5701 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.02102, allocations: 8.062 kB / 0.5701 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.02103, allocations: 4 kB / 0.5701 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02103, allocations: 0 / 0.5701 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.02162, allocations: 375 kB / 0.5705 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.02169, allocations: 39.88 kB / 0.5705 GB, free: 420 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.02171, allocations: 4 kB / 0.5705 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.02184, allocations: 15.97 kB / 0.5705 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.02187, allocations: 11.98 kB / 0.5705 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.02189, allocations: 11.94 kB / 0.5706 GB, free: 376 kB / 490.7 MB Notification: Performance of sorting global known variables: time 9.106e-05/0.02198, allocations: 171.4 kB / 0.5707 GB, free: 204 kB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02198, allocations: 4.031 kB / 0.5707 GB, free: 200 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.02231, allocations: 68 kB / 0.5708 GB, free: 132 kB / 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.0001214/0.02243, allocations: 111.1 kB / 0.5709 GB, free: 12 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005091/0.02294, allocations: 361.3 kB / 0.5712 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02295, allocations: 4.125 kB / 0.5712 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.02305, allocations: 67.59 kB / 0.5713 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.02338, allocations: 35.97 kB / 0.5713 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.02449, allocations: 0.537 MB / 0.5719 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.02456, allocations: 104.3 kB / 0.572 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.02469, allocations: 45.91 kB / 0.572 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.02475, allocations: 24.48 kB / 0.572 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.02475, allocations: 0 / 0.572 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.005502/0.03025, allocations: 2.812 MB / 0.5748 GB, free: 11.99 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.5518311720807105]