Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0009692/0.0009692, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.0009723/0.0009723, allocations: 165 kB / 23.8 MB, free: 0.7695 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.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.628/0.628, allocations: 115 MB / 375.7 MB, free: 7.641 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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0.6562 kB / 481.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.887e-05, allocations: 3.406 kB / 481.5 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003308/0.003337, allocations: 3.108 MB / 484.6 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.004858, allocations: 1.12 MB / 485.7 MB, free: 9.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.005032, allocations: 25.88 kB / 485.8 MB, free: 9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.00552, allocations: 125.3 kB / 485.9 MB, free: 8.926 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.005877, allocations: 246.1 kB / 486.1 MB, free: 8.773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.006189, allocations: 212.2 kB / 486.3 MB, free: 8.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000499/0.006688, allocations: 0.6281 MB / 487 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.007027, allocations: 223.8 kB / 487.2 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.007459, allocations: 346 kB / 487.5 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.007715, allocations: 203.1 kB / 487.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.007756, allocations: 25.34 kB / 487.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.007929, allocations: 100.8 kB / 487.8 MB, free: 8.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.008034, allocations: 129.7 kB / 488 MB, free: 7.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.008155, allocations: 143.4 kB / 488.1 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.008568, allocations: 361.5 kB / 488.5 MB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.008572, allocations: 0 / 488.5 MB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.008573, allocations: 0 / 488.5 MB, free: 7.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.008581, allocations: 0.8438 kB / 488.5 MB, free: 7.777 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007589/0.00934, allocations: 0.7463 MB / 489.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.009383, allocations: 17.53 kB / 489.2 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.009985, allocations: 192 kB / 489.4 MB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.01038, allocations: 363.4 kB / 489.8 MB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.0104, allocations: 21.25 kB / 489.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.01045, allocations: 29.78 kB / 489.8 MB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.0109, allocations: 0.5535 MB / 490.4 MB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.01092, allocations: 10.59 kB / 490.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.01094, allocations: 12.84 kB / 490.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.01099, allocations: 41.31 kB / 490.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.01126, allocations: 194.5 kB / 490.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.01306, allocations: 3.551 MB / 494.2 MB, free: 19.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.01343, allocations: 193 kB / 494.4 MB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.01353, allocations: 74.72 kB / 494.4 MB, free: 18.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01356, allocations: 4.906 kB / 494.4 MB, free: 18.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.01358, allocations: 39.67 kB / 494.5 MB, free: 18.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.364e-06/0.01358, allocations: 0 / 494.5 MB, free: 18.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009507/0.01453, allocations: 0.4975 MB / 495 MB, free: 18.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.01455, allocations: 55.67 kB / 495 MB, free: 18.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.01477, allocations: 383.9 kB / 495.4 MB, free: 18.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.01478, allocations: 30.77 kB / 495.4 MB, free: 18.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.0149, allocations: 302.7 kB / 495.7 MB, free: 18.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.01495, allocations: 93.98 kB / 495.8 MB, free: 18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.01503, allocations: 82.48 kB / 495.9 MB, free: 17.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01515, allocations: 0.5152 MB / 496.4 MB, free: 17.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.01526, allocations: 62.91 kB / 496.5 MB, free: 17.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.01541, allocations: 275.9 kB / 496.7 MB, free: 17.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.01569, allocations: 360.7 kB / 497.1 MB, free: 16.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01569, allocations: 1 kB / 497.1 MB, free: 16.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004647/0.01615, allocations: 416.1 kB / 497.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.01617, allocations: 7.344 kB / 497.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.01618, allocations: 5.312 kB / 497.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.01637, allocations: 76.56 kB / 497.6 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.01656, allocations: 81.77 kB / 497.7 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.01657, allocations: 13.52 kB / 497.7 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.0167, allocations: 29.25 kB / 497.7 MB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.01672, allocations: 21.88 kB / 497.7 MB, free: 16.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003491/0.01707, allocations: 188.7 kB / 497.9 MB, free: 16.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.01712, allocations: 48.83 kB / 498 MB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.01751, allocations: 282 kB / 498.2 MB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01751, allocations: 4.75 kB / 498.2 MB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01752, allocations: 1.562 kB / 498.2 MB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01752, allocations: 3.094 kB / 498.2 MB, free: 16.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.01829, allocations: 0.6818 MB / 498.9 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.0183, allocations: 8.203 kB / 498.9 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.01843, allocations: 48.48 kB / 499 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.01856, allocations: 62.09 kB / 499 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01857, allocations: 6.844 kB / 499.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01857, allocations: 2.188 kB / 499.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01858, allocations: 5.25 kB / 499.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.01895, allocations: 449.2 kB / 499.5 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.01904, allocations: 57.28 kB / 499.6 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01906, allocations: 7.438 kB / 499.6 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01917, allocations: 18.47 kB / 499.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.01923, allocations: 28.25 kB / 499.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01924, allocations: 6.969 kB / 499.6 MB, free: 15.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.01938, allocations: 241.9 kB / 499.9 MB, free: 15.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01938, allocations: 0 / 499.9 MB, free: 15.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.0197, allocations: 88.88 kB / 499.9 MB, free: 15.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000101/0.0198, allocations: 108.5 kB / 0.4883 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003965/0.02019, allocations: 264.2 kB / 0.4886 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0202, allocations: 0 / 0.4886 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.02033, allocations: 133.6 kB / 0.4887 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.0208, allocations: 128.9 kB / 0.4888 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.02173, allocations: 0.6682 MB / 0.4895 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.678e-05/0.02179, allocations: 123.4 kB / 0.4896 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.02193, allocations: 66.5 kB / 0.4897 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.02199, allocations: 31.66 kB / 0.4897 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.022, allocations: 2.562 kB / 0.4897 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.008566/0.03056, allocations: 4.816 MB / 0.4944 GB, free: 13.78 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7289961078204215]