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.001088/0.001088, allocations: 88.22 kB / 20.42 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.001193/0.001193, allocations: 169 kB / 23.8 MB, free: 0.7617 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.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 4.688 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.6153/0.6153, allocations: 115 MB / 375.7 MB, free: 7.484 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 1.593e-06/1.593e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.638e-05, allocations: 2.312 kB / 481.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003134/0.00316, allocations: 3.111 MB / 484.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004562, allocations: 1.114 MB / 485.7 MB, free: 9.094 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004693, allocations: 25.78 kB / 485.8 MB, free: 9.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.005149, allocations: 125.3 kB / 485.9 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.005436, allocations: 251.4 kB / 486.1 MB, free: 8.848 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.005672, allocations: 210.8 kB / 486.3 MB, free: 8.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000446/0.006118, allocations: 0.6241 MB / 487 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.006408, allocations: 233.9 kB / 487.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.006742, allocations: 351.3 kB / 487.5 MB, free: 8.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.006999, allocations: 218.6 kB / 487.7 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.007041, allocations: 26.25 kB / 487.8 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.007176, allocations: 86.95 kB / 487.9 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.052e-05/0.007267, allocations: 125.4 kB / 488 MB, free: 8.055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.007378, allocations: 140.4 kB / 488.1 MB, free: 8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007712, allocations: 366 kB / 488.5 MB, free: 7.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007716, allocations: 1.125 kB / 488.5 MB, free: 7.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007717, allocations: 0.7188 kB / 488.5 MB, free: 7.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.007723, allocations: 0.5938 kB / 488.5 MB, free: 7.848 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.0006842/0.008407, allocations: 0.7423 MB / 489.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.008441, allocations: 10.22 kB / 489.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.008897, allocations: 167.8 kB / 489.4 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.009224, allocations: 360.2 kB / 489.7 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.009244, allocations: 24.83 kB / 489.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.009285, allocations: 32.88 kB / 489.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.009713, allocations: 0.5485 MB / 490.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.009728, allocations: 6.812 kB / 490.4 MB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.009752, allocations: 12.62 kB / 490.4 MB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.009802, allocations: 45.05 kB / 490.4 MB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.01006, allocations: 201.4 kB / 490.6 MB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.01171, allocations: 3.54 MB / 494.1 MB, free: 19.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.01203, allocations: 199.7 kB / 494.3 MB, free: 19.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.01212, allocations: 72.33 kB / 494.4 MB, free: 19.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01214, allocations: 9.156 kB / 494.4 MB, free: 19.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.01216, allocations: 45.95 kB / 494.5 MB, free: 18.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.01216, allocations: 0 / 494.5 MB, free: 18.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008348/0.01299, allocations: 0.496 MB / 495 MB, free: 18.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.01301, allocations: 54.42 kB / 495 MB, free: 18.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01321, allocations: 376.7 kB / 495.4 MB, free: 18.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.01323, allocations: 31.2 kB / 495.4 MB, free: 18.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01333, allocations: 303 kB / 495.7 MB, free: 18.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.01337, allocations: 98.19 kB / 495.8 MB, free: 18.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.01344, allocations: 79.41 kB / 495.9 MB, free: 18.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.01356, allocations: 0.5146 MB / 496.4 MB, free: 17.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.01365, allocations: 66.12 kB / 496.5 MB, free: 17.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.01378, allocations: 263.9 kB / 496.7 MB, free: 17.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.01404, allocations: 368.6 kB / 497.1 MB, free: 16.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01404, allocations: 3.062 kB / 497.1 MB, free: 16.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004418/0.01448, allocations: 417.8 kB / 497.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.0145, allocations: 8.938 kB / 497.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.0145, allocations: 5.281 kB / 497.5 MB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.01466, allocations: 71.86 kB / 497.6 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.01485, allocations: 86.95 kB / 497.7 MB, free: 16.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01486, allocations: 10.59 kB / 497.7 MB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.01498, allocations: 23.17 kB / 497.7 MB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.015, allocations: 19.09 kB / 497.7 MB, free: 16.68 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 9.843e-05/0.0151, allocations: 193.2 kB / 497.9 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.01515, allocations: 47.89 kB / 497.9 MB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.01548, allocations: 278.3 kB / 498.2 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01548, allocations: 2.781 kB / 498.2 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01549, allocations: 2.219 kB / 498.2 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01549, allocations: 4.859 kB / 498.2 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.01611, allocations: 0.6871 MB / 498.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01611, allocations: 1.344 kB / 498.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01623, allocations: 45.88 kB / 499 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.01635, allocations: 67.34 kB / 499 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01636, allocations: 6.531 kB / 499 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01636, allocations: 6.188 kB / 499 MB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01636, allocations: 5.219 kB / 499 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.01671, allocations: 447.9 kB / 499.5 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.01678, allocations: 60.53 kB / 499.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.01681, allocations: 5.859 kB / 499.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.01691, allocations: 15.11 kB / 499.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.01696, allocations: 26.77 kB / 499.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01697, allocations: 6.531 kB / 499.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.0171, allocations: 245.1 kB / 499.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0171, allocations: 1.219 kB / 499.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.01736, allocations: 90.09 kB / 499.9 MB, free: 15.24 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 8.16e-05/0.01744, allocations: 116.6 kB / 0.4883 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.01781, allocations: 254.5 kB / 0.4886 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01781, allocations: 5.188 kB / 0.4886 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01795, allocations: 133.2 kB / 0.4887 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.01837, allocations: 128.9 kB / 0.4888 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.0192, allocations: 0.6716 MB / 0.4895 GB, free: 14.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01926, allocations: 124.3 kB / 0.4896 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.01939, allocations: 63.69 kB / 0.4896 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.01946, allocations: 30.28 kB / 0.4897 GB, free: 14.4 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01946, allocations: 0 / 0.4897 GB, free: 14.4 MB / 426.7 MB Notification: Performance of Templates: time 0.007642/0.0271, allocations: 5.08 MB / 0.4946 GB, free: 13.64 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.5252132951281965]