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.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.001333/0.001333, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001496/0.001496, allocations: 161.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.449/1.449, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002519/0.002519, allocations: 238.4 kB / 259.4 MB, free: 484 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.069/1.069, allocations: 138.4 MB / 454.3 MB, free: 1.961 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 2.144e-06/2.144e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.943e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005618/0.005647, allocations: 3.595 MB / 0.6503 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2523/0.2579, allocations: 1.73 MB / 0.652 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.2583, allocations: 22.16 kB / 0.652 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009362/0.2593, allocations: 266.3 kB / 0.6523 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.2599, allocations: 328.8 kB / 0.6526 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.2604, allocations: 254.8 kB / 0.6528 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.2609, allocations: 0.6265 MB / 0.6534 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.2612, allocations: 232.1 kB / 0.6537 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.2616, allocations: 345.4 kB / 0.654 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.2618, allocations: 202.7 kB / 0.6542 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.2619, allocations: 27.81 kB / 0.6542 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.2622, allocations: 250.7 kB / 0.6544 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2623, allocations: 126.8 kB / 0.6546 GB, free: 53.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2624, allocations: 142.8 kB / 0.6547 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.2629, allocations: 0.5985 MB / 0.6553 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2629, allocations: 2.219 kB / 0.6553 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2629, allocations: 0 / 0.6553 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2629, allocations: 0 / 0.6553 GB, free: 53.03 MB / 0.5606 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.0009276/0.2639, allocations: 0.6748 MB / 0.6559 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2639, allocations: 11.03 kB / 0.656 GB, free: 52.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/0.2648, allocations: 136.7 kB / 0.6561 GB, free: 52.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.2652, allocations: 344 kB / 0.6564 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2652, allocations: 23.28 kB / 0.6564 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.2653, allocations: 25.91 kB / 0.6565 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.266, allocations: 0.6307 MB / 0.6571 GB, free: 52.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.266, allocations: 11.88 kB / 0.6571 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.266, allocations: 15.91 kB / 0.6571 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.2661, allocations: 39.92 kB / 0.6571 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.2667, allocations: 402.4 kB / 0.6575 GB, free: 51.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.2684, allocations: 2.682 MB / 0.6601 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.269, allocations: 306.4 kB / 0.6604 GB, free: 49.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.2692, allocations: 159.8 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2693, allocations: 3.156 kB / 0.6606 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2693, allocations: 42.25 kB / 0.6606 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2693, allocations: 0.5 kB / 0.6606 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.001728/0.271, allocations: 0.8498 MB / 0.6615 GB, free: 49.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.271, allocations: 54.86 kB / 0.6615 GB, free: 49.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.2713, allocations: 331.5 kB / 0.6618 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.2713, allocations: 29.7 kB / 0.6619 GB, free: 48.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.2714, allocations: 254.3 kB / 0.6621 GB, free: 48.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.2714, allocations: 98.62 kB / 0.6622 GB, free: 48.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.2715, allocations: 77.72 kB / 0.6623 GB, free: 48.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.2715, allocations: 349.6 kB / 0.6626 GB, free: 48.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.2718, allocations: 146.7 kB / 0.6627 GB, free: 48.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.2721, allocations: 296.6 kB / 0.663 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.2726, allocations: 475.8 kB / 0.6635 GB, free: 47.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2726, allocations: 7.938 kB / 0.6635 GB, free: 47.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008279/0.2734, allocations: 0.5562 MB / 0.664 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2734, allocations: 10.03 kB / 0.664 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2735, allocations: 3.594 kB / 0.664 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.2737, allocations: 90.91 kB / 0.6641 GB, free: 47.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.2741, allocations: 84.55 kB / 0.6642 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2741, allocations: 10.62 kB / 0.6642 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.2743, allocations: 27.58 kB / 0.6642 GB, free: 47.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.2744, allocations: 28.31 kB / 0.6643 GB, free: 47.36 MB / 0.5606 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.0001466/0.2745, allocations: 170.6 kB / 0.6644 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.2746, allocations: 45.42 kB / 0.6645 GB, free: 47.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.2753, allocations: 459.7 kB / 0.6649 GB, free: 46.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2753, allocations: 4.625 kB / 0.6649 GB, free: 46.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2753, allocations: 2.875 kB / 0.6649 GB, free: 46.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2753, allocations: 7.234 kB / 0.6649 GB, free: 46.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2765, allocations: 0.8432 MB / 0.6658 GB, free: 46.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2765, allocations: 0 / 0.6658 GB, free: 46.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.2767, allocations: 54.38 kB / 0.6658 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.2769, allocations: 84.05 kB / 0.6659 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2769, allocations: 4 kB / 0.6659 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2769, allocations: 7.031 kB / 0.6659 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2769, allocations: 7.188 kB / 0.6659 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.2776, allocations: 0.5427 MB / 0.6664 GB, free: 46.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.2777, allocations: 62.62 kB / 0.6665 GB, free: 46.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.2778, allocations: 7.062 kB / 0.6665 GB, free: 46.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.278, allocations: 23.03 kB / 0.6665 GB, free: 46.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.2781, allocations: 22.66 kB / 0.6665 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2781, allocations: 6.312 kB / 0.6666 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000149/0.2782, allocations: 228.3 kB / 0.6668 GB, free: 45.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 2.812 kB / 0.6668 GB, free: 45.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003985/0.2786, allocations: 86.06 kB / 0.6669 GB, free: 45.96 MB / 0.5606 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 9.434e-05/0.2787, allocations: 106.3 kB / 0.667 GB, free: 45.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006581/0.2794, allocations: 396.7 kB / 0.6673 GB, free: 45.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2794, allocations: 0.5938 kB / 0.6673 GB, free: 45.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.2797, allocations: 194.4 kB / 0.6675 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.2804, allocations: 129.9 kB / 0.6676 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/0.2812, allocations: 0.7121 MB / 0.6683 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2813, allocations: 226.2 kB / 0.6686 GB, free: 45.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.2815, allocations: 82.78 kB / 0.6686 GB, free: 45.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.2816, allocations: 29.09 kB / 0.6687 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2816, allocations: 0 / 0.6687 GB, free: 45.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.009328/0.2909, allocations: 4.785 MB / 0.6733 GB, free: 44.63 MB / 0.5606 GB " [Timeout remaining time 660] 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: 5.954348299652338] Failed to read output from testmodel.py, exit status != 0: 0.2987193167209625 0.310151954 0.044679082 Calling exit ...