Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001355/0.001355, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00214/0.00214, allocations: 212 kB / 22.24 MB, free: 4.855 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 MB, free: 7.793 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.003771/0.003771, allocations: 294.1 kB / 312.7 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.002937/0.002937, allocations: 111.5 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1635, allocations: 95.37 MB / 0.8326 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02049/0.184, allocations: 15.48 MB / 0.8478 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008384/0.1924, allocations: 4.766 MB / 0.8524 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.1933, allocations: 83.38 kB / 0.8525 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.1962, allocations: 1.064 MB / 0.8535 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1981, allocations: 0.7738 MB / 0.8543 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.2003, allocations: 0.9173 MB / 0.8552 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.2043, allocations: 3.614 MB / 0.8587 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003318/0.2076, allocations: 2.442 MB / 0.8611 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.2099, allocations: 1.632 MB / 0.8627 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.2124, allocations: 1.791 MB / 0.8644 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.2129, allocations: 340 kB / 0.8648 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.2144, allocations: 0.7412 MB / 0.8655 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.2157, allocations: 1.356 MB / 0.8668 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.2171, allocations: 1.183 MB / 0.868 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005328/0.2224, allocations: 5.171 MB / 0.873 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.2224, allocations: 3.984 kB / 0.873 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2224, allocations: 4 kB / 0.873 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.89e-05/0.2225, allocations: 0 / 0.873 GB, free: 14.83 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005009/0.2275, allocations: 2.628 MB / 0.8756 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2276, allocations: 17.28 kB / 0.8756 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005/0.2281, allocations: 370.5 kB / 0.876 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.2321, allocations: 0.8537 MB / 0.8768 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.2359, allocations: 1.531 MB / 0.8783 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.236, allocations: 177.1 kB / 0.8785 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.2365, allocations: 232.3 kB / 0.8787 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.2439, allocations: 4.273 MB / 0.8829 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.2439, allocations: 3.938 kB / 0.8829 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.2442, allocations: 99.98 kB / 0.883 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002191/0.2444, allocations: 164.5 kB / 0.8831 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006337/0.2507, allocations: 3.628 MB / 0.8867 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.2681, allocations: 11.03 MB / 0.8974 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.2713, allocations: 1.469 MB / 0.8989 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009035/0.2722, allocations: 0.5509 MB / 0.8994 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2723, allocations: 12.66 kB / 0.8994 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.2724, allocations: 43.16 kB / 0.8995 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.504e-06/0.2724, allocations: 0 / 0.8995 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005659/0.278, allocations: 3.209 MB / 0.9026 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.2781, allocations: 111.5 kB / 0.9027 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.2795, allocations: 1.049 MB / 0.9037 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.2796, allocations: 37.77 kB / 0.9038 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008255/0.2804, allocations: 1.15 MB / 0.9049 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.2806, allocations: 289.6 kB / 0.9052 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.2811, allocations: 283.4 kB / 0.9054 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002427/0.2813, allocations: 414.7 kB / 0.9058 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/0.2823, allocations: 0.6129 MB / 0.9064 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.2837, allocations: 1.185 MB / 0.9076 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.2862, allocations: 1.868 MB / 0.9094 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2862, allocations: 4 kB / 0.9094 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003356/0.2896, allocations: 2.023 MB / 0.9114 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.2896, allocations: 17.5 kB / 0.9114 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.2896, allocations: 27.88 kB / 0.9114 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.2901, allocations: 159.3 kB / 0.9116 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.2913, allocations: 347.4 kB / 0.9119 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.476e-05/0.2913, allocations: 39.86 kB / 0.9119 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.2923, allocations: 127.8 kB / 0.9121 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.2924, allocations: 68 kB / 0.9121 GB, free: 5.473 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.2939, allocations: 0.9739 MB / 0.9131 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.2941, allocations: 119.2 kB / 0.9132 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.2963, allocations: 1.23 MB / 0.9144 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2963, allocations: 11.94 kB / 0.9144 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2963, allocations: 0 / 0.9144 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.2963, allocations: 11.98 kB / 0.9144 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.3024, allocations: 3.443 MB / 0.9178 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.3024, allocations: 4 kB / 0.9178 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.303, allocations: 160 kB / 0.9179 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.3034, allocations: 139.3 kB / 0.9181 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.3034, allocations: 16 kB / 0.9181 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.3035, allocations: 11.94 kB / 0.9181 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3035, allocations: 3.938 kB / 0.9181 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.3056, allocations: 1.47 MB / 0.9195 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.3062, allocations: 199.3 kB / 0.9197 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.3063, allocations: 23.94 kB / 0.9197 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/0.3069, allocations: 63.91 kB / 0.9198 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.307, allocations: 68.42 kB / 0.9199 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.3071, allocations: 20 kB / 0.9199 GB, free: 13.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009969/0.3081, allocations: 0.6992 MB / 0.9206 GB, free: 12.62 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.3081, allocations: 0 / 0.9206 GB, free: 12.62 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001434/0.3095, allocations: 391.9 kB / 0.921 GB, free: 12.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/0.312, allocations: 2.034 MB / 0.9229 GB, free: 10.14 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002344/0.3144, allocations: 1.351 MB / 0.9243 GB, free: 8.773 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.3144, allocations: 4 kB / 0.9243 GB, free: 8.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/0.3153, allocations: 0.5314 MB / 0.9248 GB, free: 8.23 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3167, allocations: 277.6 kB / 0.925 GB, free: 7.965 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.3359, allocations: 12.91 MB / 0.9377 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.3377, allocations: 1.336 MB / 0.939 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001102/0.3388, allocations: 449.4 kB / 0.9394 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/0.3398, allocations: 0.7219 MB / 0.9401 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.3398, allocations: 0 / 0.9401 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07019/0.41, allocations: 29.19 MB / 0.9686 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.61, allocations: 11.31 kB / 0.9686 GB, free: 11.03 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.26535548362881] Failed to read output from testmodel.py, exit status != 0: 12.73297149175778 13.094332334 12.868941773 Calling exit ...