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.00122/0.00122, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00134/0.00134, allocations: 213.1 kB / 22.25 MB, free: 5.121 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 8.008 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.002477/0.002477, allocations: 294.8 kB / 312.7 MB, free: 2.914 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.169/1.169, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.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: 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.002725/0.002725, allocations: 104 kB / 0.7396 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1573, allocations: 95.37 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01447/0.1717, allocations: 11.6 MB / 0.8441 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00931/0.181, allocations: 6.023 MB / 0.8499 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008836/0.1819, allocations: 71.31 kB / 0.85 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/0.1864, allocations: 1.794 MB / 0.8518 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.1892, allocations: 1.19 MB / 0.8529 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.1912, allocations: 0.8227 MB / 0.8537 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002572/0.1937, allocations: 2.131 MB / 0.8558 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.195, allocations: 1.03 MB / 0.8568 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1961, allocations: 0.8797 MB / 0.8577 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.1973, allocations: 0.9727 MB / 0.8586 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.1975, allocations: 112 kB / 0.8587 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.1994, allocations: 1.204 MB / 0.8599 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.1999, allocations: 0.5413 MB / 0.8604 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000738/0.2006, allocations: 0.7849 MB / 0.8612 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.2034, allocations: 2.436 MB / 0.8636 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2034, allocations: 0 / 0.8636 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2034, allocations: 0 / 0.8636 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.2034, allocations: 0 / 0.8636 GB, free: 8.941 MB / 0.6075 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.00287/0.2063, allocations: 1.856 MB / 0.8654 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2063, allocations: 9.344 kB / 0.8654 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.2066, allocations: 219.4 kB / 0.8656 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.2106, allocations: 0.6747 MB / 0.8663 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.2123, allocations: 0.9136 MB / 0.8672 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-05/0.2124, allocations: 98.89 kB / 0.8673 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.2126, allocations: 128.3 kB / 0.8674 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.2155, allocations: 2.207 MB / 0.8695 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.2156, allocations: 11.88 kB / 0.8695 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.2157, allocations: 63.97 kB / 0.8696 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.2159, allocations: 162.3 kB / 0.8698 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.2187, allocations: 1.867 MB / 0.8716 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.2305, allocations: 11.74 MB / 0.8831 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.2346, allocations: 1.879 MB / 0.8849 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.2354, allocations: 0.5542 MB / 0.8854 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.2355, allocations: 24.98 kB / 0.8855 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.2356, allocations: 51.5 kB / 0.8855 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.324e-06/0.2356, allocations: 0 / 0.8855 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.005652/0.2412, allocations: 3.126 MB / 0.8886 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2413, allocations: 68.39 kB / 0.8886 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.2423, allocations: 0.9166 MB / 0.8895 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/0.2424, allocations: 45.7 kB / 0.8896 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/0.2429, allocations: 0.7455 MB / 0.8903 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.2432, allocations: 408.5 kB / 0.8907 GB, free: 12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.2436, allocations: 287.4 kB / 0.891 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2437, allocations: 305.1 kB / 0.8912 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009183/0.2447, allocations: 0.6129 MB / 0.8918 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.2459, allocations: 1.106 MB / 0.8929 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.2483, allocations: 1.832 MB / 0.8947 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.2483, allocations: 4 kB / 0.8947 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003338/0.2516, allocations: 2.101 MB / 0.8968 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2517, allocations: 16.03 kB / 0.8968 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.2517, allocations: 19.94 kB / 0.8968 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007774/0.2525, allocations: 258.6 kB / 0.897 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.2537, allocations: 375.4 kB / 0.8974 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008965/0.2627, allocations: 10.78 MB / 0.9079 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.2638, allocations: 131.8 kB / 0.9081 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.2639, allocations: 67.98 kB / 0.9081 GB, free: 8.723 MB / 0.6544 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.000632/0.2645, allocations: 405.9 kB / 0.9085 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.2647, allocations: 135.2 kB / 0.9086 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.2676, allocations: 1.669 MB / 0.9103 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.2676, allocations: 15.98 kB / 0.9103 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2676, allocations: 11.94 kB / 0.9103 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2676, allocations: 3.984 kB / 0.9103 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005129/0.2727, allocations: 3.259 MB / 0.9135 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.2727, allocations: 4 kB / 0.9135 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/0.2735, allocations: 223.6 kB / 0.9137 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006953/0.2742, allocations: 239.4 kB / 0.9139 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.2743, allocations: 35.88 kB / 0.914 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008863/0.2832, allocations: 10.74 MB / 0.9245 GB, free: 6.875 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.2832, allocations: 7.938 kB / 0.9245 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/0.286, allocations: 1.804 MB / 0.9262 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/0.2866, allocations: 235 kB / 0.9264 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.2868, allocations: 28 kB / 0.9265 GB, free: 4.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.2875, allocations: 83.88 kB / 0.9266 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.2877, allocations: 112.6 kB / 0.9267 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.2878, allocations: 36 kB / 0.9267 GB, free: 4.469 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008387/0.2886, allocations: 0.6177 MB / 0.9273 GB, free: 3.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.2886, allocations: 0 / 0.9273 GB, free: 3.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001368/0.29, allocations: 392 kB / 0.9277 GB, free: 3.461 MB / 0.67 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.00306/0.2931, allocations: 2.387 MB / 0.93 GB, free: 0.957 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003651/0.2967, allocations: 2.407 MB / 0.9324 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2967, allocations: 0 / 0.9324 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.2988, allocations: 1.582 MB / 0.9339 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.3004, allocations: 359.2 kB / 0.9342 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01681/0.3172, allocations: 11.56 MB / 0.9455 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.3184, allocations: 1.327 MB / 0.9468 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009866/0.3194, allocations: 355.3 kB / 0.9472 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/0.3202, allocations: 0.5383 MB / 0.9477 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/0.3202, allocations: 0 / 0.9477 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08558/0.4057, allocations: 29.71 MB / 0.9767 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.08, allocations: 10.34 kB / 0.9767 GB, free: 0.5391 MB / 0.7169 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.05945713701658] Failed to read output from testmodel.py, exit status != 0: 13.212992032058537 13.227770825 13.021485597 Calling exit ...