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.0008858/0.0008858, 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.00103/0.00103, 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.9122/0.9122, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001517/0.001517, allocations: 248.6 kB / 259.4 MB, free: 13.01 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.6864/0.6864, allocations: 138.4 MB / 454.3 MB, free: 30.03 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 2.094e-06/2.094e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.295e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.2461/0.2461, allocations: 4.606 MB / 0.6508 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2485, allocations: 2.408 MB / 0.6531 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2487, allocations: 36.47 kB / 0.6532 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.2493, allocations: 406.9 kB / 0.6536 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.2498, allocations: 494.6 kB / 0.654 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2502, allocations: 401.8 kB / 0.6544 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.2508, allocations: 0.9521 MB / 0.6553 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.2511, allocations: 321.1 kB / 0.6557 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.2516, allocations: 496 kB / 0.6561 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.2519, allocations: 305.5 kB / 0.6564 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.2519, allocations: 37.47 kB / 0.6565 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.2523, allocations: 373.5 kB / 0.6568 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2524, allocations: 195.1 kB / 0.657 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2525, allocations: 209.7 kB / 0.6572 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.2533, allocations: 0.9084 MB / 0.6581 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2533, allocations: 0 / 0.6581 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2533, allocations: 0 / 0.6581 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2533, allocations: 0 / 0.6581 GB, free: 51.55 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.0008506/0.2541, allocations: 0.886 MB / 0.6589 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2542, allocations: 11.03 kB / 0.659 GB, free: 50.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.2542, allocations: 94.78 kB / 0.659 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.2549, allocations: 217.2 kB / 0.6593 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.2554, allocations: 493.6 kB / 0.6597 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2554, allocations: 36.39 kB / 0.6598 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.2555, allocations: 44.52 kB / 0.6598 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.2562, allocations: 0.9704 MB / 0.6607 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2562, allocations: 9.203 kB / 0.6608 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2562, allocations: 24.22 kB / 0.6608 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.2563, allocations: 65.88 kB / 0.6608 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.2569, allocations: 0.5701 MB / 0.6614 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2589, allocations: 4.703 MB / 0.666 GB, free: 45.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.2593, allocations: 424.8 kB / 0.6664 GB, free: 45.31 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2595, allocations: 202.5 kB / 0.6666 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.2595, allocations: 3.719 kB / 0.6666 GB, free: 45.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2595, allocations: 37.28 kB / 0.6666 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.2595, allocations: 4 kB / 0.6666 GB, free: 45.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001417/0.2609, allocations: 1.145 MB / 0.6678 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2609, allocations: 59.12 kB / 0.6678 GB, free: 44.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2613, allocations: 0.5116 MB / 0.6683 GB, free: 44.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.2613, allocations: 31.08 kB / 0.6683 GB, free: 44.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2614, allocations: 364.8 kB / 0.6687 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.2615, allocations: 129.1 kB / 0.6688 GB, free: 43.96 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.2616, allocations: 109.9 kB / 0.6689 GB, free: 43.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.2616, allocations: 372.5 kB / 0.6693 GB, free: 43.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2618, allocations: 194.5 kB / 0.6695 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2621, allocations: 445 kB / 0.6699 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.2625, allocations: 0.687 MB / 0.6705 GB, free: 42.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2625, allocations: 2.062 kB / 0.6706 GB, free: 42.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007131/0.2632, allocations: 0.8154 MB / 0.6713 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2633, allocations: 9.531 kB / 0.6714 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2633, allocations: 8.625 kB / 0.6714 GB, free: 42.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/0.2635, allocations: 150.8 kB / 0.6715 GB, free: 42.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2638, allocations: 127.8 kB / 0.6716 GB, free: 42.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2651, allocations: 4.025 MB / 0.6756 GB, free: 38.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2653, allocations: 30.56 kB / 0.6756 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2653, allocations: 29.12 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.0001398/0.2655, allocations: 218 kB / 0.6758 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.2655, allocations: 73.47 kB / 0.6759 GB, free: 38.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005604/0.2661, allocations: 0.598 MB / 0.6765 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2661, allocations: 4.938 kB / 0.6765 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2661, allocations: 1.594 kB / 0.6765 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2661, allocations: 0 / 0.6765 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.267, allocations: 1.188 MB / 0.6776 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.267, allocations: 3.562 kB / 0.6777 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2672, allocations: 53.77 kB / 0.6777 GB, free: 37.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.2674, allocations: 138.8 kB / 0.6778 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2674, allocations: 7.625 kB / 0.6778 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.2685, allocations: 4.027 MB / 0.6818 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2685, allocations: 0 / 0.6818 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.269, allocations: 0.7036 MB / 0.6825 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.2691, allocations: 92.39 kB / 0.6825 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2691, allocations: 7.531 kB / 0.6826 GB, free: 32.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2693, allocations: 25.41 kB / 0.6826 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.2693, allocations: 40.3 kB / 0.6826 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2693, allocations: 7.25 kB / 0.6826 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002105/0.2695, allocations: 345.1 kB / 0.683 GB, free: 32.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 0.683 GB, free: 32.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003571/0.2699, allocations: 143.8 kB / 0.6831 GB, free: 32.52 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.0006832/0.2706, allocations: 1.256 MB / 0.6843 GB, free: 31.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.2713, allocations: 0.8609 MB / 0.6852 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2713, allocations: 0 / 0.6852 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.2717, allocations: 0.5712 MB / 0.6857 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.2723, allocations: 201.9 kB / 0.6859 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.2767, allocations: 5.149 MB / 0.6909 GB, free: 27.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.277, allocations: 308.7 kB / 0.6912 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.2773, allocations: 120 kB / 0.6913 GB, free: 27.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2774, allocations: 197.9 kB / 0.6915 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/0.2774, allocations: 3.938 kB / 0.6915 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.3112, allocations: 14.42 MB / 0.7056 GB, free: 23.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.501, allocations: 13.16 kB / 0.7056 GB, free: 23.02 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.24278157390654] Failed to read output from testmodel.py, exit status != 0: 7.593773321248591 7.602503753 7.3474323649999995 Calling exit ...