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.001378/0.001378, allocations: 84.72 kB / 19.44 MB, free: 352 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.001507/0.001507, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.448/1.448, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.002648/0.002648, allocations: 241.5 kB / 259.8 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 1.058/1.058, allocations: 138.4 MB / 454.7 MB, free: 1.469 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.432e-06/1.432e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.566e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005267/0.005292, allocations: 3.049 MB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.008522, allocations: 1.679 MB / 0.5589 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.008666, allocations: 11.94 kB / 0.5589 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.009804, allocations: 326.7 kB / 0.5593 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.0104, allocations: 230.7 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.01092, allocations: 175.4 kB / 0.5596 GB, free: 11.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.01141, allocations: 326.8 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.01176, allocations: 165 kB / 0.5601 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.01212, allocations: 199.4 kB / 0.5603 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.01248, allocations: 151.6 kB / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.01252, allocations: 20 kB / 0.5605 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.01293, allocations: 215.5 kB / 0.5607 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.01308, allocations: 115.7 kB / 0.5608 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.01323, allocations: 87.77 kB / 0.5609 GB, free: 10.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.01391, allocations: 450.6 kB / 0.5613 GB, free: 9.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01392, allocations: 0 / 0.5613 GB, free: 9.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01392, allocations: 0 / 0.5613 GB, free: 9.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.01392, allocations: 0 / 0.5613 GB, free: 9.668 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.001066/0.01499, allocations: 481.4 kB / 0.5618 GB, free: 9.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01503, allocations: 12.75 kB / 0.5618 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.01591, allocations: 136.5 kB / 0.5619 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.01629, allocations: 220.2 kB / 0.5621 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.01631, allocations: 12.88 kB / 0.5621 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.01642, allocations: 32.53 kB / 0.5622 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.01724, allocations: 420.9 kB / 0.5626 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.01726, allocations: 192 / 0.5626 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.0173, allocations: 20.05 kB / 0.5626 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.01741, allocations: 32.47 kB / 0.5626 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.01799, allocations: 301.8 kB / 0.5629 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.02016, allocations: 1.039 MB / 0.5639 GB, free: 6.863 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.02071, allocations: 210.5 kB / 0.5641 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.02089, allocations: 103.6 kB / 0.5642 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.02101, allocations: 11.98 kB / 0.5642 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.02105, allocations: 38.56 kB / 0.5643 GB, free: 6.488 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.133e-06/0.02105, allocations: 0 / 0.5643 GB, free: 6.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.00142/0.02247, allocations: 0.7272 MB / 0.565 GB, free: 5.727 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.02252, allocations: 55.41 kB / 0.565 GB, free: 5.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.02274, allocations: 186.9 kB / 0.5652 GB, free: 5.469 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.02277, allocations: 29.7 kB / 0.5652 GB, free: 5.434 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.0229, allocations: 164.5 kB / 0.5654 GB, free: 5.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.896e-05/0.02298, allocations: 75.34 kB / 0.5655 GB, free: 5.195 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02309, allocations: 57.66 kB / 0.5655 GB, free: 5.133 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.02327, allocations: 326.8 kB / 0.5658 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.02347, allocations: 115.9 kB / 0.5659 GB, free: 4.691 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.02372, allocations: 169.9 kB / 0.5661 GB, free: 4.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.02419, allocations: 301 kB / 0.5664 GB, free: 4.191 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.02419, allocations: 4 kB / 0.5664 GB, free: 4.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008793/0.02507, allocations: 426 kB / 0.5668 GB, free: 3.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.02509, allocations: 4 kB / 0.5668 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.0251, allocations: 4 kB / 0.5668 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.02589, allocations: 136.8 kB / 0.5669 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.02616, allocations: 59.84 kB / 0.567 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.02848, allocations: 1.741 MB / 0.5687 GB, free: 1.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.02871, allocations: 15.98 kB / 0.5687 GB, free: 1.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.02873, allocations: 4 kB / 0.5687 GB, free: 1.695 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.0001944/0.02892, allocations: 161.7 kB / 0.5689 GB, free: 1.527 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.029, allocations: 27.84 kB / 0.5689 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.02957, allocations: 299.3 kB / 0.5692 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.02958, allocations: 4 kB / 0.5692 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.02958, allocations: 0 / 0.5692 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.02958, allocations: 192 / 0.5692 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.03068, allocations: 0.6159 MB / 0.5698 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03068, allocations: 0 / 0.5698 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.03103, allocations: 59.89 kB / 0.5698 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.03103, allocations: 64 / 0.5698 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.03105, allocations: 12 kB / 0.5698 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.03106, allocations: 0 / 0.5698 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.03106, allocations: 0 / 0.5698 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007883/0.03184, allocations: 0.5257 MB / 0.5704 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.03194, allocations: 39.83 kB / 0.5704 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.03198, allocations: 4 kB / 0.5704 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.03217, allocations: 15.97 kB / 0.5704 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.03221, allocations: 11.98 kB / 0.5704 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.03223, allocations: 11.94 kB / 0.5704 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001551/0.03239, allocations: 139.5 kB / 0.5706 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03239, allocations: 4.062 kB / 0.5706 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003863/0.03277, allocations: 71.94 kB / 0.5706 GB, free: 15.63 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.0001628/0.03294, allocations: 103.2 kB / 0.5707 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008165/0.03375, allocations: 414.4 kB / 0.5711 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.03376, allocations: 4.062 kB / 0.5711 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.03394, allocations: 107.9 kB / 0.5712 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.03434, allocations: 36.98 kB / 0.5713 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.03561, allocations: 0.5803 MB / 0.5718 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.03583, allocations: 161.2 kB / 0.572 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000181/0.03601, allocations: 65.88 kB / 0.5721 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/0.03609, allocations: 28.48 kB / 0.5721 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.03609, allocations: 0 / 0.5721 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.007271/0.04336, allocations: 2.787 MB / 0.5748 GB, free: 11.34 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5263822809793055]