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.001928/0.001928, 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.002167/0.002167, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002555/0.002555, allocations: 289.7 kB / 313.5 MB, free: 2.879 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.271/1.271, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.002928/0.002928, allocations: 97.61 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1626, allocations: 95.39 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02145/0.184, allocations: 16.79 MB / 0.8499 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008906/0.1929, allocations: 5 MB / 0.8548 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.1941, allocations: 91.38 kB / 0.8549 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.1972, allocations: 1.094 MB / 0.8559 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.1993, allocations: 0.7776 MB / 0.8567 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.2019, allocations: 0.9461 MB / 0.8576 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004657/0.2065, allocations: 3.614 MB / 0.8612 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003974/0.2105, allocations: 2.47 MB / 0.8636 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/0.2137, allocations: 1.621 MB / 0.8651 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.2174, allocations: 1.881 MB / 0.867 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.2179, allocations: 340 kB / 0.8673 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.2195, allocations: 0.8114 MB / 0.8681 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.2209, allocations: 1.36 MB / 0.8694 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.2225, allocations: 1.455 MB / 0.8708 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.2279, allocations: 5.14 MB / 0.8759 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2279, allocations: 0 / 0.8759 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2279, allocations: 0 / 0.8759 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.528e-05/0.228, allocations: 3.938 kB / 0.8759 GB, free: 13.03 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.005068/0.233, allocations: 2.642 MB / 0.8785 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2331, allocations: 13.34 kB / 0.8785 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.065e-05/0.2331, allocations: 64.97 kB / 0.8785 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005043/0.2336, allocations: 374.5 kB / 0.8789 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.2377, allocations: 0.8459 MB / 0.8797 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.2408, allocations: 1.531 MB / 0.8812 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.241, allocations: 177.1 kB / 0.8814 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/0.2414, allocations: 240.3 kB / 0.8816 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006974/0.2484, allocations: 4.153 MB / 0.8857 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.2484, allocations: 11.92 kB / 0.8857 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.2487, allocations: 104 kB / 0.8858 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.2489, allocations: 164.5 kB / 0.8859 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006212/0.2551, allocations: 3.632 MB / 0.8895 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.2748, allocations: 15.62 MB / 0.9047 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.2781, allocations: 1.477 MB / 0.9062 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009161/0.279, allocations: 0.547 MB / 0.9067 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2791, allocations: 24.64 kB / 0.9067 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2791, allocations: 43.22 kB / 0.9068 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.2791, allocations: 0 / 0.9068 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005969/0.2851, allocations: 3.205 MB / 0.9099 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.2852, allocations: 111.5 kB / 0.91 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.2867, allocations: 1.026 MB / 0.911 GB, free: 7.422 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.2867, allocations: 37.64 kB / 0.911 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/0.2876, allocations: 1.138 MB / 0.9122 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.2879, allocations: 293.6 kB / 0.9124 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/0.2883, allocations: 283.4 kB / 0.9127 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.2886, allocations: 414.7 kB / 0.9131 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/0.2896, allocations: 0.6167 MB / 0.9137 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.2911, allocations: 1.185 MB / 0.9149 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.2936, allocations: 1.861 MB / 0.9167 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.2936, allocations: 4 kB / 0.9167 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003496/0.2971, allocations: 2.034 MB / 0.9187 GB, free: 14.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.2972, allocations: 15.94 kB / 0.9187 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.2972, allocations: 20.62 kB / 0.9187 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.2977, allocations: 163.3 kB / 0.9189 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.2989, allocations: 343.4 kB / 0.9192 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.728e-05/0.2989, allocations: 35.86 kB / 0.9192 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2999, allocations: 131.8 kB / 0.9193 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.3001, allocations: 71.98 kB / 0.9194 GB, free: 14.21 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.00148/0.3015, allocations: 0.9738 MB / 0.9204 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.3018, allocations: 115.2 kB / 0.9205 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.3041, allocations: 1.222 MB / 0.9217 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3041, allocations: 8 kB / 0.9217 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.3041, allocations: 8 kB / 0.9217 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3041, allocations: 3.984 kB / 0.9217 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.3102, allocations: 3.776 MB / 0.9254 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.3102, allocations: 4 kB / 0.9254 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.3109, allocations: 159.8 kB / 0.9255 GB, free: 7.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.3113, allocations: 143.6 kB / 0.9257 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.3113, allocations: 15.94 kB / 0.9257 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.3113, allocations: 15.94 kB / 0.9257 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3113, allocations: 0 / 0.9257 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.3135, allocations: 1.474 MB / 0.9271 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.314, allocations: 203.2 kB / 0.9273 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.3141, allocations: 19.98 kB / 0.9274 GB, free: 5.844 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.3147, allocations: 63.91 kB / 0.9274 GB, free: 5.781 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3149, allocations: 64.48 kB / 0.9275 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.3149, allocations: 20 kB / 0.9275 GB, free: 5.699 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009965/0.3159, allocations: 0.6953 MB / 0.9282 GB, free: 4.992 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3159, allocations: 0 / 0.9282 GB, free: 4.992 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001394/0.3173, allocations: 392 kB / 0.9285 GB, free: 4.609 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.002635/0.3199, allocations: 2.041 MB / 0.9305 GB, free: 2.504 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.3224, allocations: 1.368 MB / 0.9319 GB, free: 1.125 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3224, allocations: 0 / 0.9319 GB, free: 1.125 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009437/0.3234, allocations: 0.5346 MB / 0.9324 GB, free: 0.582 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.3249, allocations: 271.2 kB / 0.9327 GB, free: 332 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.3451, allocations: 12.91 MB / 0.9453 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.3473, allocations: 1.924 MB / 0.9471 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00116/0.3484, allocations: 449.4 kB / 0.9476 GB, free: 276 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.3494, allocations: 0.7141 MB / 0.9483 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/0.3494, allocations: 0 / 0.9483 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/0.4133, allocations: 29.22 MB / 0.9768 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.79, allocations: 5.438 kB / 0.9768 GB, free: 2.664 MB / 0.7169 GB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 18.182302912988234] Failed to read output from testmodel.py, exit status != 0: 13.979301019979175 14.007744172 13.774342746 Calling exit ...