Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001956/0.001956, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.002078/0.002078, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.565/1.565, allocations: 177.1 MB / 203.5 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.064/3.064, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.452e-05, allocations: 9.375 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006203/0.006238, allocations: 3.049 MB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.0097, allocations: 1.69 MB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.009861, allocations: 7.938 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.01108, allocations: 329.6 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000658/0.01173, allocations: 226.7 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.01231, allocations: 179.4 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.01281, allocations: 326.9 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.01323, allocations: 168.9 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.0136, allocations: 195.5 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.01397, allocations: 151.6 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.01402, allocations: 20 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.01448, allocations: 231.4 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.01464, allocations: 107.7 kB / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.01478, allocations: 83.77 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0007023/0.01548, allocations: 438.7 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.01549, allocations: 4 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01549, allocations: 0 / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.0155, allocations: 4 kB / 1.008 GB, free: 5.844 MB / 0.9636 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.001057/0.01656, allocations: 477.4 kB / 1.009 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.01661, allocations: 17.27 kB / 1.009 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007458/0.01735, allocations: 100.7 kB / 1.009 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.01773, allocations: 195.6 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.01775, allocations: 12.88 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.01787, allocations: 32.53 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.01859, allocations: 420.9 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.01861, allocations: 4.141 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.01866, allocations: 16.12 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.01877, allocations: 32.47 kB / 1.009 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.01931, allocations: 305.8 kB / 1.01 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.02142, allocations: 1.031 MB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.02192, allocations: 218.3 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.0221, allocations: 108.8 kB / 1.011 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.02222, allocations: 8 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.02226, allocations: 38.56 kB / 1.011 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.02226, allocations: 3.938 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.001473/0.02374, allocations: 0.7215 MB / 1.012 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.02379, allocations: 51.41 kB / 1.012 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.02402, allocations: 186.7 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.02406, allocations: 29.7 kB / 1.012 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.02421, allocations: 164.5 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.02428, allocations: 75.39 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.02441, allocations: 57.62 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.02461, allocations: 326.8 kB / 1.013 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.02481, allocations: 111.9 kB / 1.013 GB, free: 0.9258 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.02508, allocations: 169.9 kB / 1.013 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.02556, allocations: 300.3 kB / 1.013 GB, free: 436 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02557, allocations: 0 / 1.013 GB, free: 436 kB / 0.9636 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008645/0.02643, allocations: 418.6 kB / 1.014 GB, free: 8 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.02645, allocations: 4 kB / 1.014 GB, free: 4 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.02646, allocations: 4 kB / 1.014 GB, free: 0 / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.0269, allocations: 101.1 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.02717, allocations: 67.77 kB / 1.014 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.0295, allocations: 1.733 MB / 1.015 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.0297, allocations: 16.05 kB / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.02973, allocations: 8 kB / 1.015 GB, free: 13.97 MB / 0.9792 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.0002192/0.02995, allocations: 162.3 kB / 1.016 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.03, allocations: 19.84 kB / 1.016 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005863/0.03059, allocations: 297.8 kB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.0306, allocations: 4 kB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0306, allocations: 0 / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.03061, allocations: 7.984 kB / 1.016 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.03163, allocations: 0.6089 MB / 1.016 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.03163, allocations: 0 / 1.016 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.03195, allocations: 59.89 kB / 1.017 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.03196, allocations: 0 / 1.017 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.03198, allocations: 8 kB / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.03199, allocations: 4.109 kB / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.03199, allocations: 4 kB / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.03316, allocations: 0.5086 MB / 1.017 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.03326, allocations: 44.03 kB / 1.017 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.03329, allocations: 8 kB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.03346, allocations: 7.984 kB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.03351, allocations: 15.98 kB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.03354, allocations: 11.92 kB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00017/0.03371, allocations: 141.2 kB / 1.017 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.03371, allocations: 0 / 1.017 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003889/0.0341, allocations: 64 kB / 1.017 GB, free: 11.93 MB / 0.9792 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.0002401/0.03434, allocations: 111.2 kB / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.03523, allocations: 418.8 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.03523, allocations: 0 / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.03543, allocations: 114.7 kB / 1.018 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.03584, allocations: 34.05 kB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.0372, allocations: 0.5743 MB / 1.019 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.03742, allocations: 165 kB / 1.019 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.0376, allocations: 53.92 kB / 1.019 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.03767, allocations: 20.48 kB / 1.019 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/0.03767, allocations: 4 kB / 1.019 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of Templates: time 0.007402/0.04507, allocations: 2.765 MB / 1.021 GB, free: 7.66 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.86828239262104]