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.001852/0.001852, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001408/0.001408, allocations: 156 kB / 23.01 MB, free: 4.605 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.402/1.402, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.00241/0.00241, allocations: 226 kB / 260 MB, free: 448 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 0.9382/0.9382, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 106.3 kB / 0.6473 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4158, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005025/0.4208, allocations: 3.61 MB / 0.744 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.4237, allocations: 1.762 MB / 0.7457 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.424, allocations: 25.38 kB / 0.7457 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.4249, allocations: 262 kB / 0.746 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008293/0.4258, allocations: 316.1 kB / 0.7463 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.4264, allocations: 253.2 kB / 0.7465 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.4272, allocations: 0.61 MB / 0.7471 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.4276, allocations: 223.4 kB / 0.7473 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.4281, allocations: 249.3 kB / 0.7476 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.4285, allocations: 234.5 kB / 0.7478 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.4286, allocations: 26.81 kB / 0.7478 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.4291, allocations: 249.8 kB / 0.748 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.4292, allocations: 125.8 kB / 0.7482 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.4295, allocations: 170.3 kB / 0.7483 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007895/0.4302, allocations: 0.5994 MB / 0.7489 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4303, allocations: 0 / 0.7489 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4303, allocations: 0 / 0.7489 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.4303, allocations: 0 / 0.7489 GB, free: 12.43 MB / 0.5919 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.001166/0.4314, allocations: 0.6734 MB / 0.7496 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4315, allocations: 10.95 kB / 0.7496 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.4325, allocations: 144.4 kB / 0.7497 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.4331, allocations: 340.5 kB / 0.75 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.4331, allocations: 21.91 kB / 0.7501 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.4332, allocations: 35.77 kB / 0.7501 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.434, allocations: 0.6321 MB / 0.7507 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.434, allocations: 6.125 kB / 0.7507 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.434, allocations: 12.31 kB / 0.7507 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.4341, allocations: 45.72 kB / 0.7508 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.4348, allocations: 406.6 kB / 0.7512 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.4367, allocations: 2.694 MB / 0.7538 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.4373, allocations: 308.5 kB / 0.7541 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.4376, allocations: 161.9 kB / 0.7542 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4376, allocations: 10.66 kB / 0.7543 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.4376, allocations: 36.72 kB / 0.7543 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.4376, allocations: 0 / 0.7543 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.001804/0.4394, allocations: 0.8416 MB / 0.7551 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4395, allocations: 56.03 kB / 0.7552 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4397, allocations: 331.8 kB / 0.7555 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4398, allocations: 31.52 kB / 0.7555 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4399, allocations: 250.3 kB / 0.7558 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.4399, allocations: 99.19 kB / 0.7558 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.965e-05/0.44, allocations: 82.98 kB / 0.7559 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.4401, allocations: 342.6 kB / 0.7563 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.4403, allocations: 150.5 kB / 0.7564 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.4406, allocations: 291.2 kB / 0.7567 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.4412, allocations: 482.4 kB / 0.7571 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4412, allocations: 1.406 kB / 0.7571 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009022/0.4421, allocations: 0.558 MB / 0.7577 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4422, allocations: 7.828 kB / 0.7577 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4422, allocations: 4.062 kB / 0.7577 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.4425, allocations: 93.2 kB / 0.7578 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4428, allocations: 88.59 kB / 0.7579 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.4428, allocations: 11.61 kB / 0.7579 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.4431, allocations: 24.42 kB / 0.7579 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.4431, allocations: 22.92 kB / 0.7579 GB, free: 6.367 MB / 0.5919 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.0001554/0.4433, allocations: 179 kB / 0.7581 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.4433, allocations: 43.38 kB / 0.7581 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.4441, allocations: 462.5 kB / 0.7586 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4442, allocations: 7.297 kB / 0.7586 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4442, allocations: 5.047 kB / 0.7586 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4442, allocations: 0 / 0.7586 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4453, allocations: 0.8445 MB / 0.7594 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4453, allocations: 1.438 kB / 0.7594 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.4456, allocations: 48.5 kB / 0.7595 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.4458, allocations: 92.84 kB / 0.7595 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.4458, allocations: 10.59 kB / 0.7596 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4458, allocations: 5.344 kB / 0.7596 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4458, allocations: 1.406 kB / 0.7596 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.4465, allocations: 0.5455 MB / 0.7601 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4466, allocations: 61.72 kB / 0.7602 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.4467, allocations: 10.66 kB / 0.7602 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.4469, allocations: 22.47 kB / 0.7602 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.447, allocations: 27.61 kB / 0.7602 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.447, allocations: 6.406 kB / 0.7602 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000166/0.4472, allocations: 226.8 kB / 0.7604 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4472, allocations: 1.719 kB / 0.7604 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004272/0.4476, allocations: 86.81 kB / 0.7605 GB, free: 4.633 MB / 0.5919 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.555e-05/0.4477, allocations: 104.9 kB / 0.7606 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007138/0.4484, allocations: 395.5 kB / 0.761 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4484, allocations: 1.188 kB / 0.761 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.4487, allocations: 199.2 kB / 0.7612 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.4494, allocations: 117.4 kB / 0.7613 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.4503, allocations: 0.7352 MB / 0.762 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.4505, allocations: 220.1 kB / 0.7622 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.4507, allocations: 82.12 kB / 0.7623 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.4508, allocations: 29.25 kB / 0.7623 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.4508, allocations: 0 / 0.7623 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.008902/0.4597, allocations: 4.841 MB / 0.7671 GB, free: 1.137 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.910219118930399] Failed to read output from testmodel.py, exit status != 0: 0.46715909300837666 0.48099053199999997 0.047744542 Calling exit ...