Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001356/0.001356, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001451/0.001451, allocations: 173 kB / 24.05 MB, free: 452 kB / 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.002/1.002, allocations: 177.2 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6736/0.6736, allocations: 115 MB / 376 MB, free: 7.52 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.911e-05, allocations: 6.375 kB / 482 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004197/0.004226, allocations: 2.474 MB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.006516, allocations: 1.232 MB / 485.7 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.006698, allocations: 7.719 kB / 485.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.007211, allocations: 97.5 kB / 485.8 MB, free: 9.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.007735, allocations: 191.3 kB / 486 MB, free: 9.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.008212, allocations: 160 kB / 486.1 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.00871, allocations: 324.8 kB / 486.4 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.009066, allocations: 188 kB / 486.6 MB, free: 8.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004335/0.0095, allocations: 188.2 kB / 486.8 MB, free: 8.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.009901, allocations: 154 kB / 487 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.009957, allocations: 20.25 kB / 487 MB, free: 8.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.01034, allocations: 158.2 kB / 487.1 MB, free: 8.754 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.01047, allocations: 113.7 kB / 487.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.01058, allocations: 82.58 kB / 487.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.01111, allocations: 300.7 kB / 487.6 MB, free: 8.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01111, allocations: 0.5625 kB / 487.6 MB, free: 8.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01111, allocations: 1.438 kB / 487.6 MB, free: 8.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.01112, allocations: 1.188 kB / 487.6 MB, free: 8.555 MB / 410.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.0008254/0.01195, allocations: 0.5676 MB / 488.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.01199, allocations: 9.719 kB / 488.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006751/0.01267, allocations: 127.8 kB / 488.3 MB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.01294, allocations: 194.2 kB / 488.5 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01296, allocations: 18.52 kB / 488.5 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.01305, allocations: 30.5 kB / 488.6 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.01343, allocations: 290.3 kB / 488.8 MB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.01345, allocations: 4.172 kB / 488.9 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.01347, allocations: 11.44 kB / 488.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-05/0.01357, allocations: 31.12 kB / 488.9 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.01379, allocations: 98.34 kB / 489 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.015, allocations: 1.123 MB / 490.1 MB, free: 22.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.0152, allocations: 126.4 kB / 490.2 MB, free: 22.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.01525, allocations: 45.16 kB / 490.3 MB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.01532, allocations: 8.969 kB / 490.3 MB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.01534, allocations: 44.83 kB / 490.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.01534, allocations: 0 / 490.3 MB, free: 22.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005565/0.0159, allocations: 393.5 kB / 490.7 MB, free: 22.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.01592, allocations: 54.5 kB / 490.8 MB, free: 22.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.01604, allocations: 232.8 kB / 491 MB, free: 22.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.01606, allocations: 30.89 kB / 491 MB, free: 22.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.01615, allocations: 218.4 kB / 491.2 MB, free: 21.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.01618, allocations: 70.22 kB / 491.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.01624, allocations: 70.36 kB / 491.4 MB, free: 21.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01636, allocations: 0.4994 MB / 491.9 MB, free: 21.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.01642, allocations: 33.52 kB / 491.9 MB, free: 21.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.01649, allocations: 116.3 kB / 492 MB, free: 21.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.01663, allocations: 160 kB / 492.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01663, allocations: 0 / 492.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003355/0.01697, allocations: 254.8 kB / 492.4 MB, free: 20.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01698, allocations: 7.953 kB / 492.4 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01699, allocations: 3.844 kB / 492.4 MB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.01733, allocations: 99.86 kB / 492.5 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.01745, allocations: 42.95 kB / 492.6 MB, free: 20.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.0186, allocations: 1.9 MB / 494.5 MB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.01869, allocations: 7.719 kB / 494.5 MB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.0187, allocations: 7.281 kB / 494.5 MB, free: 19.09 MB / 426.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 9.362e-05/0.0188, allocations: 168.6 kB / 494.7 MB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.01883, allocations: 23.62 kB / 494.7 MB, free: 18.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.01905, allocations: 170.3 kB / 494.8 MB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.01905, allocations: 1.312 kB / 494.8 MB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01905, allocations: 1.031 kB / 494.9 MB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01905, allocations: 1.75 kB / 494.9 MB, free: 18.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.01949, allocations: 483.4 kB / 495.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01949, allocations: 7.938 kB / 495.3 MB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01964, allocations: 51.67 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01964, allocations: 2.938 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01965, allocations: 6.406 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01966, allocations: 2.5 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01966, allocations: 4.938 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.01992, allocations: 345.6 kB / 495.7 MB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.01996, allocations: 33.42 kB / 495.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01999, allocations: 8.328 kB / 495.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.02006, allocations: 6.219 kB / 495.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.02008, allocations: 14.17 kB / 495.8 MB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.02009, allocations: 7.969 kB / 495.8 MB, free: 18.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.02017, allocations: 163.4 kB / 496 MB, free: 18.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02017, allocations: 1.156 kB / 496 MB, free: 18.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.02044, allocations: 65.5 kB / 496 MB, free: 18.04 MB / 426.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.0001401/0.02058, allocations: 115.7 kB / 496.1 MB, free: 17.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.02097, allocations: 342.3 kB / 496.5 MB, free: 17.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02097, allocations: 1.875 kB / 496.5 MB, free: 17.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.154e-05/0.02103, allocations: 60.7 kB / 496.5 MB, free: 17.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.02128, allocations: 43.08 kB / 496.6 MB, free: 17.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.02219, allocations: 0.5413 MB / 497.1 MB, free: 17.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.02227, allocations: 108.4 kB / 497.2 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.02236, allocations: 26.64 kB / 497.3 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.02248, allocations: 103.6 kB / 497.4 MB, free: 17.21 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02248, allocations: 1.125 kB / 497.4 MB, free: 17.21 MB / 426.7 MB Notification: Performance of Templates: time 0.005716/0.0282, allocations: 2.973 MB / 0.4886 GB, free: 16.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6182826957665384]