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.0008187/0.0008187, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008535/0.0008535, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8815/0.8815, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001449/0.001449, allocations: 232 kB / 259.4 MB, free: 13.02 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.6691/0.6691, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.286e-06/9.739e-06, allocations: 6.219 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.2344/0.2344, allocations: 4.606 MB / 0.6508 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.2366, allocations: 2.406 MB / 0.6531 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.2368, allocations: 41.78 kB / 0.6532 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.2374, allocations: 399.5 kB / 0.6536 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005001/0.2379, allocations: 497.1 kB / 0.654 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.2383, allocations: 396.4 kB / 0.6544 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.2389, allocations: 0.9584 MB / 0.6553 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.2392, allocations: 319.6 kB / 0.6556 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.2396, allocations: 494.2 kB / 0.6561 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.2399, allocations: 310.9 kB / 0.6564 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.24, allocations: 37.41 kB / 0.6565 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.2403, allocations: 365.6 kB / 0.6568 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2404, allocations: 198 kB / 0.657 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2405, allocations: 209.9 kB / 0.6572 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.2412, allocations: 0.9028 MB / 0.6581 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2412, allocations: 1.531 kB / 0.6581 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2412, allocations: 0 / 0.6581 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.2412, allocations: 0 / 0.6581 GB, free: 51.56 MB / 0.5573 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.0008124/0.242, allocations: 0.8862 MB / 0.6589 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.242, allocations: 13.25 kB / 0.659 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.2421, allocations: 98.03 kB / 0.659 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.2427, allocations: 214.3 kB / 0.6592 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.2432, allocations: 492.8 kB / 0.6597 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2432, allocations: 31.62 kB / 0.6597 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.2433, allocations: 49.77 kB / 0.6598 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.2439, allocations: 0.9698 MB / 0.6607 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2439, allocations: 11.7 kB / 0.6608 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.244, allocations: 28.08 kB / 0.6608 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.098e-05/0.244, allocations: 66.8 kB / 0.6608 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.2445, allocations: 0.5638 MB / 0.6614 GB, free: 49.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.2464, allocations: 4.71 MB / 0.666 GB, free: 45.47 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.2468, allocations: 413.8 kB / 0.6664 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.247, allocations: 206.2 kB / 0.6666 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2471, allocations: 3.562 kB / 0.6666 GB, free: 45.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2471, allocations: 41.73 kB / 0.6666 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.2471, allocations: 0 / 0.6666 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001424/0.2485, allocations: 1.144 MB / 0.6677 GB, free: 44.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.2485, allocations: 60.08 kB / 0.6678 GB, free: 44.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2488, allocations: 0.5093 MB / 0.6683 GB, free: 44.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2489, allocations: 35.67 kB / 0.6683 GB, free: 44.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.249, allocations: 369.5 kB / 0.6687 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.249, allocations: 125.9 kB / 0.6688 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.2491, allocations: 107.7 kB / 0.6689 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2492, allocations: 365.1 kB / 0.6693 GB, free: 43.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2493, allocations: 197.3 kB / 0.6694 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.2496, allocations: 449 kB / 0.6699 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.2501, allocations: 0.6847 MB / 0.6705 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2501, allocations: 1.781 kB / 0.6705 GB, free: 42.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007488/0.2509, allocations: 0.8195 MB / 0.6713 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2509, allocations: 10.38 kB / 0.6714 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2509, allocations: 6.656 kB / 0.6714 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.2512, allocations: 146.7 kB / 0.6715 GB, free: 42.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2514, allocations: 127.2 kB / 0.6716 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.2528, allocations: 4.029 MB / 0.6756 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2529, allocations: 37.77 kB / 0.6756 GB, free: 38.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.253, allocations: 28.19 kB / 0.6756 GB, free: 38.27 MB / 0.5573 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.0001487/0.2531, allocations: 217.9 kB / 0.6758 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2532, allocations: 70.02 kB / 0.6759 GB, free: 38.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.2538, allocations: 0.5984 MB / 0.6765 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2538, allocations: 3.656 kB / 0.6765 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2538, allocations: 4.953 kB / 0.6765 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2538, allocations: 4.859 kB / 0.6765 GB, free: 37.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.2548, allocations: 1.176 MB / 0.6776 GB, free: 37.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2548, allocations: 7.844 kB / 0.6776 GB, free: 37.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.255, allocations: 55.77 kB / 0.6777 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.2552, allocations: 142.8 kB / 0.6778 GB, free: 37.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2552, allocations: 8.375 kB / 0.6778 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.2563, allocations: 4.015 MB / 0.6818 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2563, allocations: 3.625 kB / 0.6818 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.2568, allocations: 0.7012 MB / 0.6825 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2569, allocations: 99.14 kB / 0.6825 GB, free: 32.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.257, allocations: 7.625 kB / 0.6826 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.2571, allocations: 21.19 kB / 0.6826 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.2571, allocations: 36.16 kB / 0.6826 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2572, allocations: 15.33 kB / 0.6826 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002143/0.2574, allocations: 344.2 kB / 0.683 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2574, allocations: 4.094 kB / 0.683 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003736/0.2577, allocations: 140.7 kB / 0.6831 GB, free: 32.53 MB / 0.5573 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.0006668/0.2584, allocations: 1.257 MB / 0.6843 GB, free: 31.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.2592, allocations: 0.8536 MB / 0.6852 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2592, allocations: 7.156 kB / 0.6852 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.2595, allocations: 0.5688 MB / 0.6857 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.2601, allocations: 208.7 kB / 0.6859 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/0.2642, allocations: 5.139 MB / 0.6909 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.2644, allocations: 309.3 kB / 0.6912 GB, free: 27.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.2646, allocations: 123.2 kB / 0.6913 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2648, allocations: 193.2 kB / 0.6915 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.2648, allocations: 3.938 kB / 0.6915 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.2949, allocations: 14.43 MB / 0.7056 GB, free: 23.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/7.554, allocations: 13.36 kB / 0.7056 GB, free: 23.03 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.089955184608698] Failed to read output from testmodel.py, exit status != 0: 7.645520935766399 7.657563272 7.414469694 Calling exit ...