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.00146/0.00146, allocations: 92.7 kB / 19.44 MB, free: 324 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.001648/0.001648, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.002767/0.002767, allocations: 226.1 kB / 259.8 MB, free: 12.83 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.088/1.088, allocations: 138.4 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.734e-06/1.734e-06, allocations: 0 / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.621e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006419/0.006445, allocations: 3.567 MB / 0.5578 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.01047, allocations: 1.746 MB / 0.5595 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.01088, allocations: 31.69 kB / 0.5595 GB, free: 11.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.01207, allocations: 274.5 kB / 0.5598 GB, free: 11.22 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009979/0.01307, allocations: 314.2 kB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.01382, allocations: 255.2 kB / 0.5604 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.01501, allocations: 0.6283 MB / 0.561 GB, free: 10.03 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.01561, allocations: 222.6 kB / 0.5612 GB, free: 9.812 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008816/0.01649, allocations: 339.1 kB / 0.5615 GB, free: 9.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.01697, allocations: 211.3 kB / 0.5617 GB, free: 9.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.01704, allocations: 31.94 kB / 0.5617 GB, free: 9.242 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005943/0.01763, allocations: 251.3 kB / 0.562 GB, free: 8.996 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.01783, allocations: 127.6 kB / 0.5621 GB, free: 8.871 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.01806, allocations: 135.7 kB / 0.5622 GB, free: 8.738 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.01919, allocations: 0.6073 MB / 0.5628 GB, free: 8.129 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.01919, allocations: 0 / 0.5628 GB, free: 8.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.01919, allocations: 0 / 0.5628 GB, free: 8.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.01921, allocations: 4 kB / 0.5628 GB, free: 8.125 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.00187/0.02109, allocations: 0.672 MB / 0.5635 GB, free: 7.422 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.02114, allocations: 12.75 kB / 0.5635 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.02232, allocations: 188.3 kB / 0.5637 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.02303, allocations: 360.7 kB / 0.564 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.02306, allocations: 25.03 kB / 0.564 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.02314, allocations: 32.36 kB / 0.5641 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.02418, allocations: 0.6272 MB / 0.5647 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.02421, allocations: 7.938 kB / 0.5647 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.02425, allocations: 15.98 kB / 0.5647 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.439e-05/0.02433, allocations: 36.64 kB / 0.5647 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.0252, allocations: 414.1 kB / 0.5651 GB, free: 5.605 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.02846, allocations: 2.694 MB / 0.5678 GB, free: 2.797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.0292, allocations: 306.5 kB / 0.5681 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.02956, allocations: 164.7 kB / 0.5682 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.02958, allocations: 4 kB / 0.5682 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.02962, allocations: 42.5 kB / 0.5683 GB, free: 2.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.02962, allocations: 0 / 0.5683 GB, free: 2.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002352/0.03197, allocations: 0.8451 MB / 0.5691 GB, free: 1.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.03202, allocations: 55.64 kB / 0.5691 GB, free: 1.344 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.03244, allocations: 337.4 kB / 0.5695 GB, free: 1.004 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.03248, allocations: 29.7 kB / 0.5695 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.03269, allocations: 256 kB / 0.5697 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.03288, allocations: 103.1 kB / 0.5698 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.03301, allocations: 74.16 kB / 0.5699 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.03321, allocations: 346.8 kB / 0.5702 GB, free: 192 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.03354, allocations: 144.9 kB / 0.5704 GB, free: 48 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.034, allocations: 295.2 kB / 0.5707 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.03481, allocations: 482.6 kB / 0.5711 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.03482, allocations: 4 kB / 0.5711 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001188/0.03601, allocations: 0.5812 MB / 0.5717 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.03603, allocations: 4 kB / 0.5717 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.03604, allocations: 8.625 kB / 0.5717 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.0364, allocations: 90.5 kB / 0.5718 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.03678, allocations: 87.88 kB / 0.5719 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.03679, allocations: 7.938 kB / 0.5719 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.03706, allocations: 31.97 kB / 0.5719 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.0371, allocations: 16 kB / 0.5719 GB, free: 14.3 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.0002362/0.03734, allocations: 177.6 kB / 0.5721 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.03744, allocations: 51.77 kB / 0.5721 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.03847, allocations: 464.2 kB / 0.5726 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.03848, allocations: 4 kB / 0.5726 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.03848, allocations: 0 / 0.5726 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.03849, allocations: 0 / 0.5726 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.04008, allocations: 0.8456 MB / 0.5734 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.04009, allocations: 8.094 kB / 0.5734 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.04036, allocations: 51.89 kB / 0.5735 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.04064, allocations: 82.52 kB / 0.5735 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.04066, allocations: 4 kB / 0.5735 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.04067, allocations: 4 kB / 0.5736 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.04067, allocations: 3.938 kB / 0.5736 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.04168, allocations: 0.5508 MB / 0.5741 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.04183, allocations: 67.73 kB / 0.5742 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.04188, allocations: 4 kB / 0.5742 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.04212, allocations: 27.91 kB / 0.5742 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.04221, allocations: 19.95 kB / 0.5742 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.04223, allocations: 11.94 kB / 0.5742 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002574/0.04249, allocations: 223.2 kB / 0.5744 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04249, allocations: 0 / 0.5744 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004659/0.04295, allocations: 88 kB / 0.5745 GB, free: 11.52 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.0001576/0.04311, allocations: 111.1 kB / 0.5746 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009163/0.04403, allocations: 388.9 kB / 0.575 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.04403, allocations: 0 / 0.575 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.04446, allocations: 196.2 kB / 0.5752 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.04522, allocations: 140 kB / 0.5753 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.04655, allocations: 0.7149 MB / 0.576 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.04681, allocations: 224 kB / 0.5762 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.04706, allocations: 83.28 kB / 0.5763 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.04717, allocations: 28.5 kB / 0.5763 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.04717, allocations: 0 / 0.5763 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.01096/0.05813, allocations: 4.807 MB / 0.581 GB, free: 4.934 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.753361976007]