Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001197/0.001197, 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.001304/0.001304, 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.00256/0.00256, allocations: 285.7 kB / 313.5 MB, free: 2.816 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.191/1.191, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.002825/0.002825, allocations: 92.17 kB / 0.7403 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.173, allocations: 95.39 MB / 0.8335 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009531/0.1825, allocations: 7.084 MB / 0.8404 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005527/0.188, allocations: 3.223 MB / 0.8436 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006442/0.1887, allocations: 39.62 kB / 0.8436 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.1913, allocations: 0.9908 MB / 0.8446 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.1927, allocations: 0.5168 MB / 0.8451 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1939, allocations: 448 kB / 0.8455 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.1956, allocations: 1.24 MB / 0.8467 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.1964, allocations: 0.5295 MB / 0.8472 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007135/0.1971, allocations: 494.3 kB / 0.8477 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007612/0.1979, allocations: 0.5487 MB / 0.8482 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.198, allocations: 64 kB / 0.8483 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.1987, allocations: 403.2 kB / 0.8487 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.199, allocations: 315.1 kB / 0.849 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.1994, allocations: 449.7 kB / 0.8494 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2009, allocations: 1.23 MB / 0.8506 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2009, allocations: 0 / 0.8506 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2009, allocations: 0 / 0.8506 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.2009, allocations: 0 / 0.8506 GB, free: 7.078 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002023/0.2029, allocations: 1.119 MB / 0.8517 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.203, allocations: 13.28 kB / 0.8517 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.715e-05/0.203, allocations: 21.44 kB / 0.8517 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.2031, allocations: 122.7 kB / 0.8518 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.2047, allocations: 244.1 kB / 0.8521 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.2057, allocations: 0.5398 MB / 0.8526 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.2057, allocations: 49.67 kB / 0.8527 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2059, allocations: 64.36 kB / 0.8527 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.2075, allocations: 1.092 MB / 0.8538 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.2075, allocations: 3.938 kB / 0.8538 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.2076, allocations: 39.97 kB / 0.8538 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/0.2078, allocations: 77.27 kB / 0.8539 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.209, allocations: 0.7504 MB / 0.8546 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.2151, allocations: 5.795 MB / 0.8603 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/0.2161, allocations: 0.5046 MB / 0.8608 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.2165, allocations: 296 kB / 0.8611 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.2166, allocations: 4.438 kB / 0.8611 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.2166, allocations: 46.92 kB / 0.8611 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.2166, allocations: 0 / 0.8611 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003837/0.2204, allocations: 1.679 MB / 0.8628 GB, free: 10 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2205, allocations: 55.84 kB / 0.8628 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.2212, allocations: 0.5742 MB / 0.8634 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.2212, allocations: 33.7 kB / 0.8634 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.2215, allocations: 424 kB / 0.8638 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.2217, allocations: 182.5 kB / 0.864 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.2219, allocations: 126.6 kB / 0.8641 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.2221, allocations: 378.7 kB / 0.8645 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.2225, allocations: 273.8 kB / 0.8647 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.2231, allocations: 496.9 kB / 0.8652 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2242, allocations: 0.8122 MB / 0.866 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2242, allocations: 4 kB / 0.866 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001936/0.2262, allocations: 1.074 MB / 0.867 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2262, allocations: 8 kB / 0.8671 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.2262, allocations: 12 kB / 0.8671 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008834/0.2271, allocations: 283.8 kB / 0.8673 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.2276, allocations: 123.8 kB / 0.8675 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007098/0.2347, allocations: 6.729 MB / 0.874 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.2354, allocations: 43.95 kB / 0.8741 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.2354, allocations: 27.94 kB / 0.8741 GB, free: 13.65 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.2359, allocations: 262.2 kB / 0.8743 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.236, allocations: 71.58 kB / 0.8744 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.2376, allocations: 0.8808 MB / 0.8753 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2376, allocations: 4 kB / 0.8753 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2376, allocations: 4 kB / 0.8753 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2377, allocations: 3.984 kB / 0.8753 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.2404, allocations: 1.688 MB / 0.8769 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2404, allocations: 7.938 kB / 0.8769 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.2407, allocations: 63.88 kB / 0.877 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/0.2415, allocations: 275.4 kB / 0.8773 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.2415, allocations: 16 kB / 0.8773 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006951/0.2484, allocations: 6.71 MB / 0.8838 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.2484, allocations: 7.969 kB / 0.8838 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2501, allocations: 0.9644 MB / 0.8848 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.2505, allocations: 123.5 kB / 0.8849 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.2506, allocations: 15.92 kB / 0.8849 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.2509, allocations: 27.97 kB / 0.8849 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2511, allocations: 51.81 kB / 0.885 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2511, allocations: 16 kB / 0.885 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005121/0.2516, allocations: 391.1 kB / 0.8854 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2516, allocations: 0 / 0.8854 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008607/0.2525, allocations: 220 kB / 0.8856 GB, free: 1.254 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/0.2544, allocations: 1.533 MB / 0.8871 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.2566, allocations: 1.228 MB / 0.8883 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.2566, allocations: 4.062 kB / 0.8883 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.2579, allocations: 0.8618 MB / 0.8891 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.259, allocations: 240.5 kB / 0.8894 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.2692, allocations: 6.415 MB / 0.8956 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.27, allocations: 1.012 MB / 0.8966 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.2704, allocations: 118 kB / 0.8967 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.2708, allocations: 255.3 kB / 0.897 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of SimCode: time 1.222e-06/0.2708, allocations: 0 / 0.897 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.3264, allocations: 18.22 MB / 0.9148 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.68, allocations: 13.83 kB / 0.9148 GB, free: 3.184 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.876901794981677] Failed to read output from testmodel.py, exit status != 0: 12.859848572988994 12.886423053 12.680664027 Calling exit ...