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.001009/0.001009, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001189/0.001189, allocations: 172.9 kB / 24.84 MB, free: 9.254 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6849/0.6849, allocations: 115 MB / 376.8 MB, free: 7.496 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.694e-06/1.694e-06, allocations: 0 / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.683e-05, allocations: 2.312 kB / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003165/0.003192, allocations: 3.066 MB / 485.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.00488, allocations: 1.106 MB / 486.9 MB, free: 8.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.005072, allocations: 25.72 kB / 487 MB, free: 8.957 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.005553, allocations: 130 kB / 487.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.005935, allocations: 244.3 kB / 487.3 MB, free: 8.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.00628, allocations: 208.1 kB / 487.5 MB, free: 8.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.006802, allocations: 0.6316 MB / 488.2 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.007119, allocations: 224.3 kB / 488.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.00755, allocations: 353.9 kB / 488.7 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.007889, allocations: 219.9 kB / 488.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.007934, allocations: 26.44 kB / 489 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.008124, allocations: 92.55 kB / 489 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.008241, allocations: 125.6 kB / 489.2 MB, free: 7.934 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.00838, allocations: 135.8 kB / 489.3 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.008775, allocations: 363.6 kB / 489.7 MB, free: 7.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008778, allocations: 0 / 489.7 MB, free: 7.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008779, allocations: 0 / 489.7 MB, free: 7.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.008786, allocations: 5.156 kB / 489.7 MB, free: 7.727 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.0006845/0.00947, allocations: 0.7462 MB / 490.4 MB, free: 7.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.009505, allocations: 12.86 kB / 490.4 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.009958, allocations: 141.3 kB / 490.6 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.01033, allocations: 357.7 kB / 490.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.01035, allocations: 20.88 kB / 490.9 MB, free: 6.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.01039, allocations: 32.98 kB / 491 MB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.01081, allocations: 0.5289 MB / 491.5 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.01083, allocations: 1.156 kB / 491.5 MB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.01085, allocations: 17.89 kB / 491.5 MB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.01092, allocations: 44.47 kB / 491.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.01111, allocations: 161.4 kB / 491.7 MB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01297, allocations: 3.468 MB / 495.2 MB, free: 19.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.01327, allocations: 179.2 kB / 495.4 MB, free: 18.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.01336, allocations: 66.5 kB / 495.4 MB, free: 18.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.01338, allocations: 4.594 kB / 495.4 MB, free: 18.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.0134, allocations: 40.02 kB / 495.5 MB, free: 18.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.205e-06/0.0134, allocations: 0 / 495.5 MB, free: 18.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008241/0.01423, allocations: 407 kB / 495.9 MB, free: 18.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01425, allocations: 55.52 kB / 495.9 MB, free: 18.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.01446, allocations: 378.4 kB / 496.3 MB, free: 18.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01447, allocations: 30.83 kB / 496.3 MB, free: 18.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01459, allocations: 302.3 kB / 496.6 MB, free: 18.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.01464, allocations: 98.77 kB / 496.7 MB, free: 18.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.01472, allocations: 83.92 kB / 496.8 MB, free: 18.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.01487, allocations: 0.5252 MB / 497.3 MB, free: 17.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.01494, allocations: 48.58 kB / 497.4 MB, free: 17.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.01509, allocations: 251.5 kB / 497.6 MB, free: 17.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.01533, allocations: 343.5 kB / 497.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01533, allocations: 1.938 kB / 497.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004436/0.01578, allocations: 386.5 kB / 498.3 MB, free: 16.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.0158, allocations: 6.656 kB / 498.3 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.01581, allocations: 5.25 kB / 498.3 MB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.01596, allocations: 67.88 kB / 498.4 MB, free: 16.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.01615, allocations: 77.47 kB / 498.5 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01616, allocations: 13.84 kB / 498.5 MB, free: 16.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01628, allocations: 15.81 kB / 498.5 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.0163, allocations: 15.59 kB / 498.5 MB, free: 16.7 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.0001084/0.0164, allocations: 189.9 kB / 498.7 MB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.01646, allocations: 47.92 kB / 498.7 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.01677, allocations: 266.2 kB / 499 MB, free: 16.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01678, allocations: 8.062 kB / 499 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01678, allocations: 5.469 kB / 499 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01678, allocations: 1.344 kB / 499 MB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.01736, allocations: 0.5929 MB / 499.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01737, allocations: 0 / 499.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.01748, allocations: 43.84 kB / 499.7 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.01759, allocations: 62.06 kB / 499.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.0176, allocations: 6.625 kB / 499.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.0176, allocations: 6.5 kB / 499.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0176, allocations: 1.188 kB / 499.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.01794, allocations: 427 kB / 0.4884 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.01801, allocations: 57.88 kB / 0.4885 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.01804, allocations: 9.703 kB / 0.4885 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.01813, allocations: 9.188 kB / 0.4885 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01818, allocations: 25.16 kB / 0.4885 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01819, allocations: 5.094 kB / 0.4885 GB, free: 15.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.01831, allocations: 238.4 kB / 0.4888 GB, free: 15.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.01831, allocations: 0 / 0.4888 GB, free: 15.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.0186, allocations: 85.88 kB / 0.4888 GB, free: 15.33 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.0001166/0.01872, allocations: 108.1 kB / 0.4889 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.01905, allocations: 235.8 kB / 0.4892 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01905, allocations: 1.219 kB / 0.4892 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.01917, allocations: 130.3 kB / 0.4893 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.01963, allocations: 140.8 kB / 0.4894 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009133/0.02055, allocations: 0.6668 MB / 0.4901 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.761e-05/0.02061, allocations: 119.4 kB / 0.4902 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.02074, allocations: 42.97 kB / 0.4902 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.02095, allocations: 171.1 kB / 0.4904 GB, free: 14.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02095, allocations: 0 / 0.4904 GB, free: 14.46 MB / 426.7 MB Notification: Performance of Templates: time 0.009286/0.03023, allocations: 5.265 MB / 0.4955 GB, free: 13.81 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.7946785371750593]