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.001237/0.001237, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001411/0.001411, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.004289/0.004289, allocations: 297.4 kB / 313.5 MB, free: 2.625 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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.002871/0.002871, allocations: 104 kB / 0.7403 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1806, allocations: 95.38 MB / 0.8334 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01443/0.1951, allocations: 10.68 MB / 0.8438 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.2051, allocations: 5.634 MB / 0.8493 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.2063, allocations: 71.31 kB / 0.8494 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.2112, allocations: 1.731 MB / 0.8511 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.2144, allocations: 1.174 MB / 0.8522 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.2167, allocations: 0.8156 MB / 0.853 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003072/0.2198, allocations: 2.124 MB / 0.8551 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.2215, allocations: 1.045 MB / 0.8561 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.223, allocations: 0.8757 MB / 0.857 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.2247, allocations: 0.9689 MB / 0.8579 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.225, allocations: 116 kB / 0.858 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.2273, allocations: 1.064 MB / 0.8591 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007584/0.228, allocations: 0.5529 MB / 0.8596 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.2292, allocations: 0.6414 MB / 0.8603 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.2329, allocations: 2.459 MB / 0.8627 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2329, allocations: 3.938 kB / 0.8627 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2329, allocations: 4 kB / 0.8627 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.2329, allocations: 0 / 0.8627 GB, free: 10.16 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.003179/0.2361, allocations: 1.836 MB / 0.8645 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2361, allocations: 9.344 kB / 0.8645 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.416e-05/0.2362, allocations: 34.73 kB / 0.8645 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.2364, allocations: 215.4 kB / 0.8647 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.241, allocations: 0.6709 MB / 0.8654 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.2427, allocations: 0.9252 MB / 0.8663 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.064e-05/0.2428, allocations: 90.89 kB / 0.8664 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.2431, allocations: 128.3 kB / 0.8665 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.2466, allocations: 2.415 MB / 0.8688 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.2467, allocations: 15.94 kB / 0.8688 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.2468, allocations: 55.97 kB / 0.8689 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/0.2471, allocations: 162.3 kB / 0.8691 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.2502, allocations: 1.867 MB / 0.8709 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.2621, allocations: 9.413 MB / 0.8801 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/0.2666, allocations: 1.859 MB / 0.8819 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.2675, allocations: 0.5581 MB / 0.8824 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.2677, allocations: 24.92 kB / 0.8825 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.2677, allocations: 47.5 kB / 0.8825 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.2677, allocations: 0 / 0.8825 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006397/0.2741, allocations: 3.122 MB / 0.8855 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.2742, allocations: 68.34 kB / 0.8856 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2754, allocations: 0.9244 MB / 0.8865 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.092e-05/0.2755, allocations: 41.7 kB / 0.8866 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.2761, allocations: 0.7494 MB / 0.8873 GB, free: 204 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.2764, allocations: 404.7 kB / 0.8877 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/0.2769, allocations: 283.4 kB / 0.8879 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.277, allocations: 305.1 kB / 0.8882 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.278, allocations: 0.6168 MB / 0.8888 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.2795, allocations: 1.102 MB / 0.8899 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.2821, allocations: 1.832 MB / 0.8917 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.2821, allocations: 4 kB / 0.8917 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00382/0.2859, allocations: 2.104 MB / 0.8938 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.2859, allocations: 12 kB / 0.8938 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.286, allocations: 16.91 kB / 0.8938 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009068/0.2869, allocations: 262.6 kB / 0.894 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.2882, allocations: 375.3 kB / 0.8944 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009924/0.2982, allocations: 10.75 MB / 0.9049 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.2994, allocations: 119.9 kB / 0.905 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.2995, allocations: 71.98 kB / 0.9051 GB, free: 12.55 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.0006771/0.3002, allocations: 412.2 kB / 0.9055 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.3004, allocations: 139.2 kB / 0.9056 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.3037, allocations: 1.669 MB / 0.9072 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3037, allocations: 12 kB / 0.9072 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3037, allocations: 7.938 kB / 0.9073 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3037, allocations: 7.969 kB / 0.9073 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.309, allocations: 3.112 MB / 0.9103 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.309, allocations: 8 kB / 0.9103 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000885/0.3099, allocations: 223.7 kB / 0.9105 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007936/0.3107, allocations: 246.5 kB / 0.9108 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.3108, allocations: 28 kB / 0.9108 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00994/0.3207, allocations: 10.71 MB / 0.9212 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.3207, allocations: 8 kB / 0.9213 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.3239, allocations: 1.812 MB / 0.923 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/0.3246, allocations: 231 kB / 0.9232 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.3248, allocations: 24 kB / 0.9233 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.3255, allocations: 95.86 kB / 0.9234 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.3257, allocations: 100.7 kB / 0.9235 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.3258, allocations: 36 kB / 0.9235 GB, free: 8.469 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009087/0.3267, allocations: 0.6138 MB / 0.9241 GB, free: 7.848 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.3267, allocations: 0 / 0.9241 GB, free: 7.848 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001398/0.3281, allocations: 396 kB / 0.9245 GB, free: 7.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.003269/0.3314, allocations: 2.391 MB / 0.9268 GB, free: 4.953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.3353, allocations: 2.395 MB / 0.9291 GB, free: 2.457 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.3353, allocations: 4 kB / 0.9291 GB, free: 2.453 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.3377, allocations: 1.587 MB / 0.9307 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.3395, allocations: 372.3 kB / 0.931 GB, free: 424 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.357, allocations: 11.54 MB / 0.9423 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008807/0.3579, allocations: 0.7335 MB / 0.943 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001056/0.359, allocations: 359.3 kB / 0.9434 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/0.3597, allocations: 0.5383 MB / 0.9439 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/0.3597, allocations: 4 kB / 0.9439 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08048/0.4402, allocations: 30.67 MB / 0.9739 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.21, allocations: 18.53 kB / 0.9739 GB, free: 4.391 MB / 0.7169 GB " [Timeout remaining time 646] (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.632786437985487] Failed to read output from testmodel.py, exit status != 0: 14.39844305999577 14.414966659 14.17862495 Calling exit ...