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.001269/0.001269, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00142/0.00142, allocations: 217 kB / 23.04 MB, free: 5.074 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002545/0.002545, allocations: 287.9 kB / 313.5 MB, free: 2.812 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",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.002886/0.002886, allocations: 98.73 kB / 0.7404 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1911, allocations: 95.38 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01523/0.2063, allocations: 11.59 MB / 0.8448 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2166, allocations: 6.023 MB / 0.8507 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.2177, allocations: 75.31 kB / 0.8508 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.2225, allocations: 1.797 MB / 0.8525 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.226, allocations: 1.186 MB / 0.8537 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.2286, allocations: 0.8186 MB / 0.8545 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003489/0.2321, allocations: 2.124 MB / 0.8566 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.2338, allocations: 1.041 MB / 0.8576 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.2354, allocations: 0.8758 MB / 0.8584 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.2373, allocations: 0.965 MB / 0.8594 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.2376, allocations: 112 kB / 0.8595 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.2401, allocations: 1.212 MB / 0.8607 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.2408, allocations: 0.5413 MB / 0.8612 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.2418, allocations: 0.7888 MB / 0.862 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00338/0.2452, allocations: 2.428 MB / 0.8644 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2452, allocations: 0 / 0.8644 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2452, allocations: 4 kB / 0.8644 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.2452, allocations: 0 / 0.8644 GB, free: 8.922 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.003226/0.2484, allocations: 1.852 MB / 0.8662 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2484, allocations: 9.344 kB / 0.8662 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.579e-05/0.2485, allocations: 34.73 kB / 0.8662 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002484/0.2488, allocations: 219.4 kB / 0.8664 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.2533, allocations: 0.6786 MB / 0.8671 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.2552, allocations: 0.9097 MB / 0.868 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.2552, allocations: 102.9 kB / 0.8681 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.2555, allocations: 128.3 kB / 0.8682 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.2589, allocations: 2.203 MB / 0.8703 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.259, allocations: 19.81 kB / 0.8704 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.2591, allocations: 63.97 kB / 0.8704 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/0.2593, allocations: 162.3 kB / 0.8706 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.2624, allocations: 1.867 MB / 0.8724 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.2764, allocations: 11.74 MB / 0.8839 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004689/0.2811, allocations: 1.874 MB / 0.8857 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008965/0.282, allocations: 0.5503 MB / 0.8862 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.2821, allocations: 28.97 kB / 0.8863 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.2822, allocations: 43.5 kB / 0.8863 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.625e-06/0.2822, allocations: 0 / 0.8863 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006289/0.2885, allocations: 3.126 MB / 0.8894 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2885, allocations: 64.41 kB / 0.8894 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2897, allocations: 0.9205 MB / 0.8903 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.558e-05/0.2898, allocations: 45.7 kB / 0.8904 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/0.2904, allocations: 0.7533 MB / 0.8911 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.2908, allocations: 400.5 kB / 0.8915 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.2912, allocations: 291.4 kB / 0.8918 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2914, allocations: 301.1 kB / 0.892 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009896/0.2924, allocations: 0.609 MB / 0.8926 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2938, allocations: 1.121 MB / 0.8937 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.2964, allocations: 1.824 MB / 0.8955 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.2964, allocations: 4 kB / 0.8955 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00371/0.3001, allocations: 2.104 MB / 0.8976 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.3001, allocations: 15.98 kB / 0.8976 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.3002, allocations: 16 kB / 0.8976 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000874/0.301, allocations: 259.2 kB / 0.8978 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.3024, allocations: 371.4 kB / 0.8982 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009885/0.3123, allocations: 10.78 MB / 0.9087 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.3136, allocations: 131.7 kB / 0.9089 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.3137, allocations: 71.98 kB / 0.9089 GB, free: 8.668 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.0007195/0.3144, allocations: 402 kB / 0.9093 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.3146, allocations: 139.2 kB / 0.9094 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.3177, allocations: 1.673 MB / 0.9111 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3177, allocations: 12 kB / 0.9111 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3178, allocations: 4 kB / 0.9111 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.3178, allocations: 3.984 kB / 0.9111 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.3232, allocations: 3.26 MB / 0.9143 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.3232, allocations: 4 kB / 0.9143 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/0.3242, allocations: 223.6 kB / 0.9145 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000749/0.3249, allocations: 246.7 kB / 0.9147 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/0.325, allocations: 31.98 kB / 0.9148 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009899/0.3349, allocations: 10.74 MB / 0.9252 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.3349, allocations: 15.88 kB / 0.9253 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.3381, allocations: 1.8 MB / 0.927 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/0.3389, allocations: 231 kB / 0.9272 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.3391, allocations: 31.98 kB / 0.9273 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.3399, allocations: 83.88 kB / 0.9274 GB, free: 4.562 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.3401, allocations: 112.6 kB / 0.9275 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.203e-05/0.3402, allocations: 28 kB / 0.9275 GB, free: 4.422 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008651/0.3411, allocations: 0.6216 MB / 0.9281 GB, free: 3.793 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 0.9281 GB, free: 3.793 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001417/0.3425, allocations: 392 kB / 0.9285 GB, free: 3.41 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.003252/0.3457, allocations: 2.389 MB / 0.9308 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003944/0.3497, allocations: 2.41 MB / 0.9332 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.3497, allocations: 4 kB / 0.9332 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/0.352, allocations: 1.575 MB / 0.9347 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.3539, allocations: 376.7 kB / 0.9351 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.3716, allocations: 11.54 MB / 0.9463 GB, free: 68 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.3729, allocations: 1.327 MB / 0.9476 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001066/0.3739, allocations: 359.3 kB / 0.948 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/0.3748, allocations: 0.5383 MB / 0.9485 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/0.3748, allocations: 0 / 0.9485 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/0.4582, allocations: 29.74 MB / 0.9775 GB, free: 480 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.48, allocations: 15.72 kB / 0.9776 GB, free: 472 kB / 0.7169 GB " [Timeout remaining time 645] (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: 18.822659056051634] Failed to read output from testmodel.py, exit status != 0: 14.669882111949846 14.695277342 14.445390014000001 Calling exit ...