Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008161/0.0008161, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009647/0.0009647, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8706/0.8706, allocations: 177.2 MB / 202.8 MB, free: 5.547 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.001438/0.001438, allocations: 242.1 kB / 259.4 MB, free: 12.91 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.6909/0.6909, allocations: 138.4 MB / 454.3 MB, free: 29.95 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.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.64e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.2352/0.2352, allocations: 10.5 MB / 0.6566 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.2404, allocations: 5.578 MB / 0.662 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.2409, allocations: 72.84 kB / 0.6621 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2427, allocations: 1.733 MB / 0.6638 GB, free: 47.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2443, allocations: 1.217 MB / 0.665 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2454, allocations: 0.8167 MB / 0.6658 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.2468, allocations: 2.184 MB / 0.6679 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.2476, allocations: 1.021 MB / 0.6689 GB, free: 44.57 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008504/0.2484, allocations: 1.213 MB / 0.6701 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.2491, allocations: 0.8177 MB / 0.6709 GB, free: 43.81 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.2492, allocations: 113.2 kB / 0.671 GB, free: 43.81 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2503, allocations: 1.074 MB / 0.672 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.2506, allocations: 0.5633 MB / 0.6726 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.251, allocations: 0.5346 MB / 0.6731 GB, free: 42.96 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.2529, allocations: 2.493 MB / 0.6755 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2529, allocations: 0.7031 kB / 0.6755 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2529, allocations: 0 / 0.6755 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.2529, allocations: 4.281 kB / 0.6755 GB, free: 42.14 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001529/0.2544, allocations: 1.82 MB / 0.6773 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2545, allocations: 10.39 kB / 0.6773 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.2546, allocations: 212.9 kB / 0.6775 GB, free: 40.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.2568, allocations: 0.6867 MB / 0.6782 GB, free: 40.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009453/0.2578, allocations: 0.9143 MB / 0.6791 GB, free: 40.19 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.2578, allocations: 93.67 kB / 0.6792 GB, free: 40.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.2579, allocations: 135.9 kB / 0.6793 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.26, allocations: 2.406 MB / 0.6817 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.26, allocations: 14.47 kB / 0.6817 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.2601, allocations: 62.48 kB / 0.6817 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.2603, allocations: 162.1 kB / 0.6819 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.2622, allocations: 1.861 MB / 0.6837 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00561/0.2678, allocations: 9.39 MB / 0.6929 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.2703, allocations: 1.859 MB / 0.6947 GB, free: 30.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.2709, allocations: 0.561 MB / 0.6952 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-05/0.271, allocations: 20.39 kB / 0.6953 GB, free: 30.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.271, allocations: 45.73 kB / 0.6953 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=103): time 2.254e-06/0.271, allocations: 1.688 kB / 0.6953 GB, free: 30.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=110): time 0.003907/0.2749, allocations: 3.127 MB / 0.6984 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2749, allocations: 63.03 kB / 0.6984 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.2757, allocations: 0.9599 MB / 0.6994 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.2758, allocations: 42.05 kB / 0.6994 GB, free: 28.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.276, allocations: 0.7443 MB / 0.7001 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.2762, allocations: 403.3 kB / 0.7005 GB, free: 27.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2764, allocations: 291 kB / 0.7008 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.951e-05/0.2765, allocations: 309.1 kB / 0.7011 GB, free: 26.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.2771, allocations: 0.6138 MB / 0.7017 GB, free: 26.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.2778, allocations: 1.101 MB / 0.7027 GB, free: 25.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.2793, allocations: 1.831 MB / 0.7045 GB, free: 24.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2793, allocations: 5.312 kB / 0.7045 GB, free: 24.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002169/0.2814, allocations: 2.1 MB / 0.7066 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.2815, allocations: 11.84 kB / 0.7066 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.2815, allocations: 15.53 kB / 0.7066 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.282, allocations: 264.5 kB / 0.7069 GB, free: 23.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.2827, allocations: 369.2 kB / 0.7072 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.2861, allocations: 10.73 MB / 0.7177 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.2867, allocations: 128.1 kB / 0.7178 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.2868, allocations: 71.8 kB / 0.7179 GB, free: 12.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0004292/0.2872, allocations: 405.7 kB / 0.7183 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2873, allocations: 139.9 kB / 0.7184 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.289, allocations: 1.677 MB / 0.72 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.289, allocations: 11.66 kB / 0.7201 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.289, allocations: 2.188 kB / 0.7201 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.289, allocations: 7.984 kB / 0.7201 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.292, allocations: 3.123 MB / 0.7231 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.292, allocations: 5.781 kB / 0.7231 GB, free: 9.023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.2924, allocations: 218 kB / 0.7233 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.2927, allocations: 245.5 kB / 0.7236 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.2928, allocations: 27.34 kB / 0.7236 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008373/0.3011, allocations: 10.71 MB / 0.7341 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.3012, allocations: 6.875 kB / 0.7341 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3041, allocations: 1.797 MB / 0.7358 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.3048, allocations: 235 kB / 0.736 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.305, allocations: 31.89 kB / 0.7361 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/0.3058, allocations: 91.88 kB / 0.7362 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.3061, allocations: 100.7 kB / 0.7363 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.3061, allocations: 35.98 kB / 0.7363 GB, free: 12.01 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008974/0.307, allocations: 0.6216 MB / 0.7369 GB, free: 11.38 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.307, allocations: 0 / 0.7369 GB, free: 11.38 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001731/0.3088, allocations: 392 kB / 0.7373 GB, free: 11 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.003006/0.3118, allocations: 2.379 MB / 0.7396 GB, free: 8.496 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003484/0.3152, allocations: 2.399 MB / 0.7419 GB, free: 6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3152, allocations: 3.938 kB / 0.7419 GB, free: 5.996 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.3171, allocations: 1.583 MB / 0.7435 GB, free: 4.312 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.3187, allocations: 360.5 kB / 0.7438 GB, free: 3.984 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.3352, allocations: 11.52 MB / 0.7551 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.3357, allocations: 0.7412 MB / 0.7558 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.3364, allocations: 363.3 kB / 0.7561 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.3369, allocations: 0.5355 MB / 0.7567 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of SimCode: time 1.132e-06/0.3369, allocations: 0 / 0.7567 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.388, allocations: 30.66 MB / 0.7866 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.884, allocations: 4.062 kB / 0.7866 GB, free: 8.035 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.58863670565188] Failed to read output from testmodel.py, exit status != 0: 7.983651524409652 7.996302583 7.741415142 Calling exit ...