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.0009509/0.0009509, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009266/0.0009266, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.8945/0.8945, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.001533/0.001533, allocations: 237.7 kB / 260.2 MB, free: 12.82 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 0.6863/0.6863, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.242e-06/1.242e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.677e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003249/0.003266, allocations: 3.111 MB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.004881, allocations: 1.123 MB / 0.5593 GB, free: 12.28 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.005063, allocations: 19.81 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.005535, allocations: 131 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.005943, allocations: 246.4 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.006295, allocations: 211.5 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.006859, allocations: 0.6322 MB / 0.5604 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.007198, allocations: 230.6 kB / 0.5607 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.007599, allocations: 347.1 kB / 0.561 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.007886, allocations: 219.4 kB / 0.5612 GB, free: 10.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.007921, allocations: 24 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.008326, allocations: 99.73 kB / 0.5613 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.521e-05/0.008422, allocations: 123.6 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.008529, allocations: 143.6 kB / 0.5616 GB, free: 9.883 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.008883, allocations: 366.6 kB / 0.5619 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008885, allocations: 0 / 0.5619 GB, free: 9.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.008886, allocations: 0 / 0.5619 GB, free: 9.523 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.008892, allocations: 0 / 0.5619 GB, free: 9.523 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.0006923/0.009585, allocations: 0.7409 MB / 0.5627 GB, free: 8.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.009619, allocations: 8.75 kB / 0.5627 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.01007, allocations: 172.3 kB / 0.5628 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.01045, allocations: 358.8 kB / 0.5632 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.01047, allocations: 21.03 kB / 0.5632 GB, free: 8.172 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.01051, allocations: 32.36 kB / 0.5632 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.01097, allocations: 0.5481 MB / 0.5638 GB, free: 7.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.01099, allocations: 7.938 kB / 0.5638 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.01101, allocations: 15.98 kB / 0.5638 GB, free: 7.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.01106, allocations: 52.61 kB / 0.5638 GB, free: 7.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.0113, allocations: 191.5 kB / 0.564 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.01301, allocations: 3.547 MB / 0.5675 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.01333, allocations: 187.1 kB / 0.5677 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.01342, allocations: 75.59 kB / 0.5677 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01344, allocations: 8 kB / 0.5677 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01346, allocations: 45.31 kB / 0.5678 GB, free: 3.176 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.01346, allocations: 4 kB / 0.5678 GB, free: 3.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.001097/0.01456, allocations: 0.4936 MB / 0.5683 GB, free: 2.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.01458, allocations: 51.64 kB / 0.5683 GB, free: 2.598 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01479, allocations: 382.5 kB / 0.5687 GB, free: 2.211 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.01481, allocations: 29.7 kB / 0.5687 GB, free: 2.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01494, allocations: 298.8 kB / 0.569 GB, free: 1.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.01499, allocations: 99.17 kB / 0.5691 GB, free: 1.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.01506, allocations: 83.8 kB / 0.5692 GB, free: 1.688 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01518, allocations: 0.5196 MB / 0.5697 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.01527, allocations: 56.97 kB / 0.5697 GB, free: 1.102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01543, allocations: 274.5 kB / 0.57 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.0157, allocations: 366.1 kB / 0.5703 GB, free: 304 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0157, allocations: 4 kB / 0.5703 GB, free: 300 kB / 490.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004347/0.01614, allocations: 415.9 kB / 0.5707 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01615, allocations: 8 kB / 0.5707 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01616, allocations: 4 kB / 0.5707 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.01633, allocations: 71 kB / 0.5708 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.0165, allocations: 83.89 kB / 0.5709 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01651, allocations: 8.375 kB / 0.5709 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01662, allocations: 31.97 kB / 0.5709 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.01664, allocations: 16 kB / 0.5709 GB, free: 15.64 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.0001101/0.01675, allocations: 188.3 kB / 0.5711 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.0168, allocations: 47.77 kB / 0.5712 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.01715, allocations: 288.8 kB / 0.5715 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01715, allocations: 4 kB / 0.5715 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.01716, allocations: 4 kB / 0.5715 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01717, allocations: 4 kB / 0.5715 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.01779, allocations: 0.6827 MB / 0.5721 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01779, allocations: 0 / 0.5721 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.0179, allocations: 47.91 kB / 0.5722 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.01801, allocations: 67 kB / 0.5722 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01803, allocations: 8 kB / 0.5722 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01803, allocations: 0 / 0.5722 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01803, allocations: 7.875 kB / 0.5723 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.01837, allocations: 445.2 kB / 0.5727 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.01844, allocations: 59.73 kB / 0.5727 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.01847, allocations: 11.94 kB / 0.5727 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.01856, allocations: 19.97 kB / 0.5728 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.01862, allocations: 23.89 kB / 0.5728 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01863, allocations: 8 kB / 0.5728 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001217/0.01875, allocations: 247.1 kB / 0.573 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01875, allocations: 0 / 0.573 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002456/0.019, allocations: 88 kB / 0.5731 GB, free: 13.27 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 8.397e-05/0.01908, allocations: 111.1 kB / 0.5732 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.01943, allocations: 250.2 kB / 0.5735 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01943, allocations: 0 / 0.5735 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.01956, allocations: 132.6 kB / 0.5736 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.01996, allocations: 125.1 kB / 0.5737 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.02085, allocations: 0.6735 MB / 0.5744 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.02092, allocations: 121.6 kB / 0.5745 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.02105, allocations: 71.28 kB / 0.5745 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.02111, allocations: 28.5 kB / 0.5746 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.02111, allocations: 4 kB / 0.5746 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.006884/0.02799, allocations: 5.085 MB / 0.5795 GB, free: 6.734 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: 3.59646732872352]