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.001817/0.001817, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001948/0.001948, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003236/0.003236, allocations: 234.7 kB / 259.8 MB, free: 12.85 MB / 250.7 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.179/1.179, allocations: 138.5 MB / 454.7 MB, free: 1.484 MB / 362.7 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 1.152e-06/1.152e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.314e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005902/0.005925, allocations: 3.719 MB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.009231, allocations: 1.824 MB / 0.5598 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.0094, allocations: 23.75 kB / 0.5598 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009283/0.01033, allocations: 286.5 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.01097, allocations: 310.2 kB / 0.5603 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.01151, allocations: 251.3 kB / 0.5606 GB, free: 10.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.01228, allocations: 0.6244 MB / 0.5612 GB, free: 9.773 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.0128, allocations: 234.6 kB / 0.5614 GB, free: 9.543 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.01336, allocations: 339 kB / 0.5617 GB, free: 9.211 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.01372, allocations: 203.4 kB / 0.5619 GB, free: 9.012 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.01378, allocations: 32 kB / 0.562 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.01422, allocations: 243.3 kB / 0.5622 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.01438, allocations: 131.6 kB / 0.5623 GB, free: 8.613 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.01458, allocations: 143.6 kB / 0.5625 GB, free: 8.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.01541, allocations: 0.6034 MB / 0.5631 GB, free: 7.867 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01542, allocations: 4 kB / 0.5631 GB, free: 7.863 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01542, allocations: 0 / 0.5631 GB, free: 7.863 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.01542, allocations: 0 / 0.5631 GB, free: 7.863 MB / 490.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.001285/0.01671, allocations: 0.7949 MB / 0.5638 GB, free: 7.031 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01675, allocations: 8.75 kB / 0.5638 GB, free: 7.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.01774, allocations: 184.3 kB / 0.564 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.0184, allocations: 363.5 kB / 0.5644 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.01843, allocations: 21.03 kB / 0.5644 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.01849, allocations: 36.36 kB / 0.5644 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.01936, allocations: 0.567 MB / 0.565 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.01938, allocations: 3.938 kB / 0.565 GB, free: 5.711 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.01942, allocations: 15.98 kB / 0.565 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.36e-05/0.01949, allocations: 44.62 kB / 0.565 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.02005, allocations: 242.2 kB / 0.5653 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.02378, allocations: 3.64 MB / 0.5688 GB, free: 1.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.02435, allocations: 203.1 kB / 0.569 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.02456, allocations: 95.58 kB / 0.5691 GB, free: 1.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.02459, allocations: 4 kB / 0.5691 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.02463, allocations: 41.33 kB / 0.5691 GB, free: 1.266 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.02463, allocations: 0 / 0.5691 GB, free: 1.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.00172/0.02635, allocations: 0.56 MB / 0.5697 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.0264, allocations: 51.64 kB / 0.5697 GB, free: 0.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.02687, allocations: 434.5 kB / 0.5702 GB, free: 192 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.0269, allocations: 29.7 kB / 0.5702 GB, free: 156 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.02716, allocations: 310.7 kB / 0.5705 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02727, allocations: 103.2 kB / 0.5706 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.02742, allocations: 91.8 kB / 0.5707 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002998/0.02772, allocations: 0.5274 MB / 0.5712 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.02793, allocations: 84.95 kB / 0.5713 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.02833, allocations: 298.5 kB / 0.5716 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.02897, allocations: 410 kB / 0.5719 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02897, allocations: 0 / 0.5719 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009291/0.0299, allocations: 464.3 kB / 0.5724 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.02992, allocations: 11.94 kB / 0.5724 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.02993, allocations: 8.031 kB / 0.5724 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.03024, allocations: 79 kB / 0.5725 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.03058, allocations: 83.89 kB / 0.5726 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.0306, allocations: 11.92 kB / 0.5726 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.03086, allocations: 27.97 kB / 0.5726 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.03089, allocations: 16 kB / 0.5726 GB, free: 13.43 MB / 0.4948 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.0002149/0.0311, allocations: 208.3 kB / 0.5728 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.03119, allocations: 47.77 kB / 0.5729 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.03198, allocations: 320.8 kB / 0.5732 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.03199, allocations: 4 kB / 0.5732 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.032, allocations: 0 / 0.5732 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.032, allocations: 0 / 0.5732 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.03339, allocations: 0.7647 MB / 0.5739 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.0334, allocations: 4.094 kB / 0.5739 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.03365, allocations: 51.91 kB / 0.574 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.03389, allocations: 71 kB / 0.574 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.03392, allocations: 8 kB / 0.574 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.03392, allocations: 0 / 0.574 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.03392, allocations: 7.938 kB / 0.574 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.03472, allocations: 485 kB / 0.5745 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.03489, allocations: 55.73 kB / 0.5746 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.03494, allocations: 12 kB / 0.5746 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.03515, allocations: 19.97 kB / 0.5746 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.03523, allocations: 27.89 kB / 0.5746 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.03525, allocations: 8 kB / 0.5746 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002788/0.03553, allocations: 275.1 kB / 0.5749 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03553, allocations: 0 / 0.5749 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004311/0.03596, allocations: 88 kB / 0.575 GB, free: 10.86 MB / 0.4948 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.0003042/0.03626, allocations: 118.8 kB / 0.5751 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007357/0.037, allocations: 289.1 kB / 0.5754 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.037, allocations: 4 kB / 0.5754 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.03733, allocations: 153.5 kB / 0.5755 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.03813, allocations: 137.2 kB / 0.5756 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.03938, allocations: 0.6818 MB / 0.5763 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.03964, allocations: 220 kB / 0.5765 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.03984, allocations: 63.3 kB / 0.5766 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.03993, allocations: 28.5 kB / 0.5766 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.03994, allocations: 4 kB / 0.5766 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of Templates: time 0.01108/0.05102, allocations: 4.819 MB / 0.5813 GB, free: 4.422 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.004751803004183]