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.001382/0.001382, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001673/0.001673, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.777 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.002513/0.002513, allocations: 285.2 kB / 312.7 MB, free: 2.594 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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="me",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="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.0029/0.0029, allocations: 105.9 kB / 0.7395 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1655, allocations: 95.39 MB / 0.8327 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009137/0.1747, allocations: 6.559 MB / 0.8391 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.1802, allocations: 3.064 MB / 0.842 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.1806, allocations: 35.69 kB / 0.8421 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.1832, allocations: 0.9517 MB / 0.843 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.1844, allocations: 0.5207 MB / 0.8435 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1854, allocations: 453.2 kB / 0.844 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001364/0.1868, allocations: 1.232 MB / 0.8452 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.1876, allocations: 0.5257 MB / 0.8457 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.1883, allocations: 0.4904 MB / 0.8461 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007492/0.1891, allocations: 0.5097 MB / 0.8466 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.1892, allocations: 68 kB / 0.8467 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006799/0.1899, allocations: 347.3 kB / 0.847 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.1902, allocations: 315.1 kB / 0.8473 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.1906, allocations: 374.2 kB / 0.8477 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.192, allocations: 1.241 MB / 0.8489 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.192, allocations: 0 / 0.8489 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.192, allocations: 0 / 0.8489 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.192, allocations: 4 kB / 0.8489 GB, free: 7.609 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.001971/0.194, allocations: 1.112 MB / 0.85 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.194, allocations: 13.34 kB / 0.85 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.1942, allocations: 114.7 kB / 0.8501 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.1957, allocations: 248.1 kB / 0.8504 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1968, allocations: 0.5437 MB / 0.8509 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.1968, allocations: 45.67 kB / 0.8509 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1969, allocations: 68.36 kB / 0.851 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1986, allocations: 1.336 MB / 0.8523 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1986, allocations: 7.875 kB / 0.8523 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.1987, allocations: 39.97 kB / 0.8523 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.1989, allocations: 85.25 kB / 0.8524 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2, allocations: 0.7504 MB / 0.8532 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.2054, allocations: 4.628 MB / 0.8577 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2065, allocations: 0.5075 MB / 0.8582 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.2069, allocations: 286 kB / 0.8585 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.2069, allocations: 8.438 kB / 0.8585 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.207, allocations: 39 kB / 0.8585 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.966e-06/0.207, allocations: 0 / 0.8585 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003807/0.2108, allocations: 1.686 MB / 0.8601 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2108, allocations: 59.84 kB / 0.8602 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.2115, allocations: 0.5742 MB / 0.8608 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.2116, allocations: 41.7 kB / 0.8608 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.2119, allocations: 432 kB / 0.8612 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.2121, allocations: 182.5 kB / 0.8614 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2123, allocations: 122.6 kB / 0.8615 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.2125, allocations: 378.7 kB / 0.8619 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.2129, allocations: 277.8 kB / 0.8621 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.2135, allocations: 0.4891 MB / 0.8626 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2145, allocations: 0.8122 MB / 0.8634 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2145, allocations: 0 / 0.8634 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001881/0.2164, allocations: 1.077 MB / 0.8645 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2164, allocations: 8 kB / 0.8645 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2165, allocations: 8.875 kB / 0.8645 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.2173, allocations: 279.2 kB / 0.8647 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.2178, allocations: 123.8 kB / 0.8649 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007197/0.225, allocations: 6.691 MB / 0.8714 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.2257, allocations: 39.95 kB / 0.8714 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.2257, allocations: 28 kB / 0.8715 GB, free: 15.34 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.0003921/0.2261, allocations: 254.2 kB / 0.8717 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2262, allocations: 75.53 kB / 0.8718 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.2278, allocations: 0.8809 MB / 0.8726 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2278, allocations: 4 kB / 0.8726 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2278, allocations: 4 kB / 0.8726 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2279, allocations: 7.922 kB / 0.8726 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.2306, allocations: 1.607 MB / 0.8742 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-06/0.2306, allocations: 3.938 kB / 0.8742 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.2308, allocations: 63.89 kB / 0.8743 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.2316, allocations: 263.4 kB / 0.8745 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.2317, allocations: 12 kB / 0.8745 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006681/0.2383, allocations: 6.678 MB / 0.8811 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2383, allocations: 4 kB / 0.8811 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.24, allocations: 0.9839 MB / 0.882 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.2403, allocations: 119.5 kB / 0.8821 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.2404, allocations: 11.94 kB / 0.8821 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2408, allocations: 31.95 kB / 0.8822 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.2409, allocations: 39.92 kB / 0.8822 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.2409, allocations: 16 kB / 0.8822 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004729/0.2414, allocations: 387.1 kB / 0.8826 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2414, allocations: 3.938 kB / 0.8826 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008061/0.2422, allocations: 228 kB / 0.8828 GB, free: 3.07 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.00193/0.2441, allocations: 1.54 MB / 0.8843 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.2462, allocations: 1.224 MB / 0.8855 GB, free: 196 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2462, allocations: 0 / 0.8855 GB, free: 196 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2475, allocations: 0.8698 MB / 0.8864 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.2486, allocations: 223.1 kB / 0.8866 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/0.2577, allocations: 6.401 MB / 0.8928 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.2582, allocations: 420.8 kB / 0.8932 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004463/0.2586, allocations: 137.9 kB / 0.8934 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.259, allocations: 247.4 kB / 0.8936 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.259, allocations: 0 / 0.8936 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/0.3227, allocations: 19.36 MB / 0.9125 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.28, allocations: 11.92 kB / 0.9125 GB, free: 4.59 MB / 0.6544 GB " [Timeout remaining time 648] (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.45322901243344] Failed to read output from testmodel.py, exit status != 0: 12.397667179815471 12.416769302 12.221207717 Calling exit ...