Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001247/0.001247, allocations: 113 kB / 18.94 MB, free: 2.934 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.001406/0.001406, allocations: 208.7 kB / 22.25 MB, free: 5.082 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.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.00239/0.00239, allocations: 295.4 kB / 312.7 MB, free: 2.82 MB / 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.135/1.135, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [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.002751/0.002751, allocations: 106.5 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1468, allocations: 95.38 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006327/0.1531, allocations: 5.05 MB / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1569, allocations: 2.6 MB / 0.8402 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.1571, allocations: 35.62 kB / 0.8402 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1583, allocations: 418.3 kB / 0.8406 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008247/0.1591, allocations: 477.6 kB / 0.8411 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.1599, allocations: 407.6 kB / 0.8415 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.1608, allocations: 0.9295 MB / 0.8424 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.1613, allocations: 318.7 kB / 0.8427 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.1617, allocations: 362.5 kB / 0.843 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.1622, allocations: 366.4 kB / 0.8434 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.171e-05/0.1622, allocations: 40 kB / 0.8434 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005774/0.1628, allocations: 415.1 kB / 0.8438 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.163, allocations: 187.3 kB / 0.844 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.1633, allocations: 318.2 kB / 0.8443 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009407/0.1642, allocations: 0.8947 MB / 0.8452 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1642, allocations: 0 / 0.8452 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1642, allocations: 0 / 0.8452 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1642, allocations: 0 / 0.8452 GB, free: 11.86 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001298/0.1655, allocations: 0.8935 MB / 0.846 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1656, allocations: 9.344 kB / 0.8461 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/0.1657, allocations: 94.69 kB / 0.8461 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.1668, allocations: 204.2 kB / 0.8463 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.1676, allocations: 496.8 kB / 0.8468 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.1677, allocations: 37.36 kB / 0.8469 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.1677, allocations: 40.38 kB / 0.8469 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1688, allocations: 0.8522 MB / 0.8477 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1688, allocations: 7.938 kB / 0.8477 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.1688, allocations: 23.98 kB / 0.8478 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.042e-05/0.1689, allocations: 68.89 kB / 0.8478 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.1698, allocations: 0.5695 MB / 0.8484 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004414/0.1742, allocations: 5.578 MB / 0.8538 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.1748, allocations: 430.2 kB / 0.8542 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.1751, allocations: 204.7 kB / 0.8544 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1751, allocations: 7.938 kB / 0.8544 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1751, allocations: 35.09 kB / 0.8545 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.1751, allocations: 0 / 0.8545 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002263/0.1774, allocations: 1.145 MB / 0.8556 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1774, allocations: 59.69 kB / 0.8556 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.1779, allocations: 0.4952 MB / 0.8561 GB, free: 4 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.178, allocations: 37.7 kB / 0.8562 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.1782, allocations: 363.8 kB / 0.8565 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.1783, allocations: 130.9 kB / 0.8566 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1785, allocations: 106.2 kB / 0.8567 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1786, allocations: 370.8 kB / 0.8571 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.1789, allocations: 193.2 kB / 0.8573 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.1794, allocations: 451.2 kB / 0.8577 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.1802, allocations: 0.6874 MB / 0.8584 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1802, allocations: 0 / 0.8584 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001239/0.1814, allocations: 0.8177 MB / 0.8592 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1815, allocations: 8 kB / 0.8592 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1815, allocations: 8 kB / 0.8592 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.1819, allocations: 156.3 kB / 0.8593 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.1824, allocations: 123.8 kB / 0.8595 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.1856, allocations: 4.05 MB / 0.8634 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.1859, allocations: 31.97 kB / 0.8634 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.186, allocations: 28 kB / 0.8635 GB, free: 7.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.1862, allocations: 220.6 kB / 0.8637 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.1863, allocations: 67.61 kB / 0.8637 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1873, allocations: 0.593 MB / 0.8643 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1873, allocations: 4 kB / 0.8643 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1873, allocations: 0 / 0.8643 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1873, allocations: 4 kB / 0.8643 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.1891, allocations: 1.234 MB / 0.8655 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1891, allocations: 4 kB / 0.8655 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1893, allocations: 55.95 kB / 0.8656 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/0.1897, allocations: 140.1 kB / 0.8657 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1897, allocations: 7.938 kB / 0.8657 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.1929, allocations: 4.03 MB / 0.8697 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.1929, allocations: 8.016 kB / 0.8697 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.1939, allocations: 0.7046 MB / 0.8704 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.1941, allocations: 91.48 kB / 0.8705 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.1942, allocations: 11.98 kB / 0.8705 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.1944, allocations: 31.97 kB / 0.8705 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.1945, allocations: 31.89 kB / 0.8705 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1945, allocations: 8 kB / 0.8705 GB, free: 88 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003587/0.1948, allocations: 342.8 kB / 0.8709 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 0.8709 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005692/0.1954, allocations: 143.9 kB / 0.871 GB, free: 15.61 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001289/0.1967, allocations: 1.265 MB / 0.8722 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.198, allocations: 0.8624 MB / 0.8731 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.198, allocations: 4.125 kB / 0.8731 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.1988, allocations: 0.5678 MB / 0.8736 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/0.1997, allocations: 207.5 kB / 0.8738 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.2059, allocations: 5.165 MB / 0.8789 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.2064, allocations: 0.9098 MB / 0.8798 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002959/0.2067, allocations: 117.3 kB / 0.8799 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.207, allocations: 199.4 kB / 0.8801 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.207, allocations: 0 / 0.8801 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05145/0.2584, allocations: 13.38 MB / 0.8931 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.57, allocations: 8 kB / 0.8931 GB, free: 8.66 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.40302464319393] Failed to read output from testmodel.py, exit status != 0: 11.682359206024557 11.696865322 11.529861653 Calling exit ...