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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00172/0.00172, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.953 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.002619/0.002619, allocations: 293.5 kB / 312.7 MB, free: 2.785 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.002765/0.002765, allocations: 110.5 kB / 0.7396 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1593, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02058/0.1799, allocations: 16.79 MB / 0.8491 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008401/0.1883, allocations: 5.008 MB / 0.854 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.1894, allocations: 87.31 kB / 0.8541 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.1923, allocations: 1.087 MB / 0.8552 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.1942, allocations: 0.7738 MB / 0.8559 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.1965, allocations: 0.9602 MB / 0.8569 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004219/0.2008, allocations: 3.618 MB / 0.8604 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003803/0.2046, allocations: 2.466 MB / 0.8628 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.2071, allocations: 1.621 MB / 0.8644 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.21, allocations: 1.885 MB / 0.8662 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004512/0.2105, allocations: 340 kB / 0.8665 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.212, allocations: 0.8036 MB / 0.8673 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.2132, allocations: 1.36 MB / 0.8687 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.2147, allocations: 1.459 MB / 0.8701 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.2197, allocations: 5.14 MB / 0.8751 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2197, allocations: 0 / 0.8751 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2197, allocations: 11.94 kB / 0.8751 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.695e-05/0.2198, allocations: 0 / 0.8751 GB, free: 13.04 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.004667/0.2244, allocations: 2.63 MB / 0.8777 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2245, allocations: 13.34 kB / 0.8777 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00046/0.2249, allocations: 378.5 kB / 0.8781 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.2286, allocations: 0.842 MB / 0.8789 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.2317, allocations: 1.535 MB / 0.8804 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.2319, allocations: 181.1 kB / 0.8806 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.2322, allocations: 228.4 kB / 0.8808 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00617/0.2384, allocations: 4.161 MB / 0.8848 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.2384, allocations: 0 / 0.8848 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.2387, allocations: 111.9 kB / 0.8849 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.2389, allocations: 164.5 kB / 0.8851 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006188/0.2451, allocations: 3.634 MB / 0.8886 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.2636, allocations: 15.63 MB / 0.9039 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.2668, allocations: 1.483 MB / 0.9054 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.2676, allocations: 0.5392 MB / 0.9059 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.2677, allocations: 24.64 kB / 0.9059 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2678, allocations: 43.16 kB / 0.906 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/0.2678, allocations: 0 / 0.906 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005424/0.2732, allocations: 3.217 MB / 0.9091 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.2733, allocations: 115.5 kB / 0.9092 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.2746, allocations: 1.014 MB / 0.9102 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.2746, allocations: 37.7 kB / 0.9102 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.2754, allocations: 1.138 MB / 0.9113 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.2757, allocations: 293.6 kB / 0.9116 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.276, allocations: 279.4 kB / 0.9119 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.2763, allocations: 414.7 kB / 0.9123 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009369/0.2772, allocations: 0.6207 MB / 0.9129 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.2786, allocations: 1.185 MB / 0.914 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.2812, allocations: 1.868 MB / 0.9159 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.2812, allocations: 4 kB / 0.9159 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003185/0.2844, allocations: 2.015 MB / 0.9178 GB, free: 15.08 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.2844, allocations: 16.66 kB / 0.9179 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.2844, allocations: 20 kB / 0.9179 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.2849, allocations: 167.3 kB / 0.918 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.286, allocations: 343.4 kB / 0.9184 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/0.2861, allocations: 39.86 kB / 0.9184 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.2869, allocations: 127.8 kB / 0.9185 GB, free: 14.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.287, allocations: 71.98 kB / 0.9186 GB, free: 14.3 MB / 0.67 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.00141/0.2885, allocations: 0.9778 MB / 0.9195 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.2887, allocations: 115.2 kB / 0.9197 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.2908, allocations: 1.222 MB / 0.9209 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2908, allocations: 8 kB / 0.9209 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2908, allocations: 0 / 0.9209 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.2908, allocations: 7.984 kB / 0.9209 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005871/0.2967, allocations: 3.78 MB / 0.9246 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2967, allocations: 4 kB / 0.9246 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.2973, allocations: 156 kB / 0.9247 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.2976, allocations: 147.3 kB / 0.9248 GB, free: 7.703 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.2977, allocations: 19.94 kB / 0.9249 GB, free: 7.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.2977, allocations: 4 kB / 0.9249 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2977, allocations: 4 kB / 0.9249 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.2997, allocations: 1.474 MB / 0.9263 GB, free: 6.148 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.3002, allocations: 199.2 kB / 0.9265 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3004, allocations: 20 kB / 0.9265 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.301, allocations: 63.84 kB / 0.9266 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3011, allocations: 72.42 kB / 0.9267 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3011, allocations: 20 kB / 0.9267 GB, free: 5.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009271/0.3021, allocations: 0.6953 MB / 0.9274 GB, free: 5.074 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3021, allocations: 4 kB / 0.9274 GB, free: 5.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001319/0.3034, allocations: 384 kB / 0.9277 GB, free: 4.695 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.002365/0.3057, allocations: 2.041 MB / 0.9297 GB, free: 2.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.308, allocations: 1.363 MB / 0.931 GB, free: 1.215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.308, allocations: 0 / 0.931 GB, free: 1.215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.3089, allocations: 0.535 MB / 0.9316 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.3102, allocations: 273.8 kB / 0.9318 GB, free: 416 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.3291, allocations: 12.91 MB / 0.9444 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/0.3312, allocations: 1.92 MB / 0.9463 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001104/0.3323, allocations: 445.4 kB / 0.9467 GB, free: 372 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009901/0.3333, allocations: 0.7141 MB / 0.9474 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of SimCode: time 1.142e-06/0.3333, allocations: 0 / 0.9474 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.4022, allocations: 29.2 MB / 0.9759 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.15, allocations: 4.062 kB / 0.976 GB, free: 2.766 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.32095541805029] Failed to read output from testmodel.py, exit status != 0: 13.265977404080331 13.282168455 13.059395382 Calling exit ...