Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.4 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002431/0.002431, allocations: 287.1 kB / 304.8 MB, free: 3.449 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5281 GB, free: 2.035 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 99.83 kB / 0.7283 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5519, allocations: 94.16 MB / 0.8203 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007129/0.559, allocations: 3.846 MB / 0.824 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004059/0.5631, allocations: 1.858 MB / 0.8259 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.5635, allocations: 17.5 kB / 0.8259 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.5645, allocations: 276.7 kB / 0.8261 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.5655, allocations: 302.1 kB / 0.8264 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.5663, allocations: 254.4 kB / 0.8267 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009112/0.5672, allocations: 0.6048 MB / 0.8273 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.5677, allocations: 197 kB / 0.8274 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.5681, allocations: 239.6 kB / 0.8277 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.5685, allocations: 248.4 kB / 0.8279 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.5685, allocations: 26.12 kB / 0.8279 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006121/0.5692, allocations: 277.1 kB / 0.8282 GB, free: 14.91 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.5693, allocations: 130 kB / 0.8283 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.5696, allocations: 214.1 kB / 0.8285 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.5704, allocations: 0.5952 MB / 0.8291 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5704, allocations: 0 / 0.8291 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5704, allocations: 0 / 0.8291 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5705, allocations: 0 / 0.8291 GB, free: 14.28 MB / 0.5763 GB 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.001468/0.5719, allocations: 0.7472 MB / 0.8298 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.572, allocations: 9.562 kB / 0.8298 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/0.5729, allocations: 137.1 kB / 0.83 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.5737, allocations: 414.6 kB / 0.8304 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.5737, allocations: 21.47 kB / 0.8304 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.5738, allocations: 34.94 kB / 0.8304 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5748, allocations: 0.5522 MB / 0.831 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.5748, allocations: 6.031 kB / 0.831 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.5748, allocations: 13.5 kB / 0.831 GB, free: 12.75 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.5749, allocations: 41.31 kB / 0.831 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.5757, allocations: 405.4 kB / 0.8314 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.5791, allocations: 3.334 MB / 0.8347 GB, free: 9.348 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.5799, allocations: 315.4 kB / 0.835 GB, free: 9.18 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.5802, allocations: 165.1 kB / 0.8351 GB, free: 9.094 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5802, allocations: 2.688 kB / 0.8351 GB, free: 9.094 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.5802, allocations: 37.97 kB / 0.8352 GB, free: 9.051 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.5802, allocations: 0 / 0.8352 GB, free: 9.051 MB / 0.5763 GB Notification: Performance of matching and sorting (n=27): time 0.002262/0.5825, allocations: 1.071 MB / 0.8362 GB, free: 8.297 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5826, allocations: 54.33 kB / 0.8363 GB, free: 8.234 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.583, allocations: 343.2 kB / 0.8366 GB, free: 8.008 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.583, allocations: 31.02 kB / 0.8366 GB, free: 7.973 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5832, allocations: 250.5 kB / 0.8369 GB, free: 7.742 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.5833, allocations: 103.9 kB / 0.837 GB, free: 7.652 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.5834, allocations: 72.66 kB / 0.837 GB, free: 7.605 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5836, allocations: 348.4 kB / 0.8374 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.5839, allocations: 152.8 kB / 0.8375 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.5843, allocations: 294.9 kB / 0.8378 GB, free: 6.93 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.5851, allocations: 478.3 kB / 0.8382 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5851, allocations: 1.25 kB / 0.8382 GB, free: 6.574 MB / 0.5763 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001065/0.5862, allocations: 0.5651 MB / 0.8388 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5862, allocations: 7.938 kB / 0.8388 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5862, allocations: 4.219 kB / 0.8388 GB, free: 6.258 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.5865, allocations: 89.94 kB / 0.8389 GB, free: 6.199 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.5869, allocations: 84.83 kB / 0.839 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.5869, allocations: 10.11 kB / 0.839 GB, free: 6.176 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.5872, allocations: 38.62 kB / 0.839 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.5872, allocations: 25.64 kB / 0.839 GB, free: 6.141 MB / 0.5763 GB 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.0002217/0.5875, allocations: 173.7 kB / 0.8392 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.5875, allocations: 44.41 kB / 0.8392 GB, free: 5.965 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009687/0.5885, allocations: 470.4 kB / 0.8397 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5885, allocations: 3.156 kB / 0.8397 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5885, allocations: 1.375 kB / 0.8397 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5885, allocations: 1 kB / 0.8397 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.5901, allocations: 0.9535 MB / 0.8406 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5901, allocations: 1.062 kB / 0.8406 GB, free: 4.961 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.5903, allocations: 56.14 kB / 0.8407 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.5906, allocations: 76.67 kB / 0.8408 GB, free: 4.891 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.5906, allocations: 6.25 kB / 0.8408 GB, free: 4.887 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5906, allocations: 2.312 kB / 0.8408 GB, free: 4.887 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5906, allocations: 5.25 kB / 0.8408 GB, free: 4.883 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.5915, allocations: 0.5455 MB / 0.8413 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5917, allocations: 141.9 kB / 0.8414 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.5917, allocations: 6.469 kB / 0.8414 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.592, allocations: 21.62 kB / 0.8415 GB, free: 4.352 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.5921, allocations: 23.38 kB / 0.8415 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.5921, allocations: 9.562 kB / 0.8415 GB, free: 4.336 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002854/0.5924, allocations: 237 kB / 0.8417 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.5924, allocations: 1.312 kB / 0.8417 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004595/0.5928, allocations: 84.06 kB / 0.8418 GB, free: 4.176 MB / 0.5763 GB 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.0001632/0.593, allocations: 109.5 kB / 0.8419 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.594, allocations: 0.6154 MB / 0.8425 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.594, allocations: 0 / 0.8425 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.5945, allocations: 424.9 kB / 0.8429 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.5952, allocations: 135.6 kB / 0.843 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5966, allocations: 0.7472 MB / 0.8438 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.5971, allocations: 0.8245 MB / 0.8446 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.5973, allocations: 79.89 kB / 0.8447 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.5974, allocations: 32.36 kB / 0.8447 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/0.5974, allocations: 0 / 0.8447 GB, free: 1.832 MB / 0.5763 GB Notification: Performance of Templates: time 0.01124/0.6087, allocations: 4.893 MB / 0.8495 GB, free: 15.13 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.380741971544921]