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.001316/0.001316, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001399/0.001399, allocations: 157.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 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.002493/0.002493, allocations: 237.6 kB / 260 MB, free: 476 kB / 238.1 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.9293/0.9293, allocations: 138.5 MB / 455 MB, free: 15.1 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003066/0.003066, allocations: 99.84 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4486, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00396/0.4526, allocations: 3.095 MB / 0.7435 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.455, allocations: 1.688 MB / 0.7451 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4551, allocations: 4.125 kB / 0.7451 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009773/0.4561, allocations: 338.2 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.4565, allocations: 210.1 kB / 0.7456 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.4569, allocations: 190.8 kB / 0.7458 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.4572, allocations: 317.5 kB / 0.7461 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.4575, allocations: 172.8 kB / 0.7463 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.4577, allocations: 148.2 kB / 0.7464 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.458, allocations: 164.8 kB / 0.7466 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.458, allocations: 20.94 kB / 0.7466 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.4584, allocations: 213.5 kB / 0.7468 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.4585, allocations: 109.2 kB / 0.7469 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4586, allocations: 101.2 kB / 0.747 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.4591, allocations: 427.6 kB / 0.7474 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4591, allocations: 0.7969 kB / 0.7474 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4591, allocations: 0 / 0.7474 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4591, allocations: 0 / 0.7474 GB, free: 13.36 MB / 0.5919 GB 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.0007705/0.4599, allocations: 493.7 kB / 0.7479 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4599, allocations: 10.5 kB / 0.7479 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/0.4607, allocations: 99.11 kB / 0.748 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4609, allocations: 196.6 kB / 0.7482 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4609, allocations: 16.97 kB / 0.7482 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.461, allocations: 34.28 kB / 0.7482 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.4616, allocations: 425.3 kB / 0.7486 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4616, allocations: 1.688 kB / 0.7486 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.4616, allocations: 13.61 kB / 0.7487 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.556e-05/0.4617, allocations: 26.7 kB / 0.7487 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.4621, allocations: 308.7 kB / 0.749 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.4635, allocations: 1.034 MB / 0.75 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.4639, allocations: 206.4 kB / 0.7502 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.464, allocations: 110.1 kB / 0.7503 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.4641, allocations: 9.078 kB / 0.7503 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.4642, allocations: 37.75 kB / 0.7503 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.4642, allocations: 4 kB / 0.7503 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001094/0.4653, allocations: 0.7183 MB / 0.751 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.4653, allocations: 55.17 kB / 0.7511 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.4654, allocations: 186 kB / 0.7513 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4654, allocations: 30.8 kB / 0.7513 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.4655, allocations: 171.5 kB / 0.7515 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.4655, allocations: 69.81 kB / 0.7515 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.4656, allocations: 58.81 kB / 0.7516 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.4657, allocations: 328.6 kB / 0.7519 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.4658, allocations: 113 kB / 0.752 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.466, allocations: 166.8 kB / 0.7522 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.4664, allocations: 307.6 kB / 0.7525 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4664, allocations: 4 kB / 0.7525 GB, free: 10 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007366/0.4671, allocations: 411.8 kB / 0.7529 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4671, allocations: 12.09 kB / 0.7529 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4671, allocations: 1.594 kB / 0.7529 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.4676, allocations: 96.61 kB / 0.753 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4678, allocations: 56.12 kB / 0.753 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.4694, allocations: 1.74 MB / 0.7547 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.4696, allocations: 16.41 kB / 0.7547 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.4696, allocations: 16.22 kB / 0.7547 GB, free: 8.375 MB / 0.5919 GB 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.0001145/0.4697, allocations: 156.1 kB / 0.7549 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4698, allocations: 20.94 kB / 0.7549 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4702, allocations: 295.1 kB / 0.7552 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4702, allocations: 2.438 kB / 0.7552 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.4702, allocations: 3.938 kB / 0.7552 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4702, allocations: 2.109 kB / 0.7552 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007746/0.471, allocations: 0.622 MB / 0.7558 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.471, allocations: 1.719 kB / 0.7558 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.4713, allocations: 57.86 kB / 0.7559 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4713, allocations: 1.281 kB / 0.7559 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4714, allocations: 7.156 kB / 0.7559 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4714, allocations: 2.141 kB / 0.7559 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4714, allocations: 1.406 kB / 0.7559 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.4719, allocations: 0.516 MB / 0.7564 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.472, allocations: 42.12 kB / 0.7564 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.472, allocations: 11.06 kB / 0.7564 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4722, allocations: 14.86 kB / 0.7564 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.4723, allocations: 15.31 kB / 0.7565 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.4723, allocations: 5.297 kB / 0.7565 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.937e-05/0.4724, allocations: 146.6 kB / 0.7566 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4724, allocations: 0.9062 kB / 0.7566 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003607/0.4727, allocations: 65.97 kB / 0.7567 GB, free: 7.246 MB / 0.5919 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.0001089/0.4729, allocations: 111.6 kB / 0.7568 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.4735, allocations: 406.4 kB / 0.7572 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4735, allocations: 1.25 kB / 0.7572 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4736, allocations: 112.6 kB / 0.7573 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.474, allocations: 28.27 kB / 0.7573 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.475, allocations: 0.6314 MB / 0.7579 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.4752, allocations: 160 kB / 0.7581 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.4753, allocations: 59.89 kB / 0.7581 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.4754, allocations: 19.77 kB / 0.7581 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.4754, allocations: 0 / 0.7581 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.005965/0.4814, allocations: 2.771 MB / 0.7608 GB, free: 5.051 MB / 0.5919 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.94745197694283] Failed to read output from testmodel.py, exit status != 0: 0.48912384803406894 0.501129708 0.039010134 Calling exit ...