Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001316/0.001316, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001557/0.001557, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002503/0.002503, allocations: 297.5 kB / 313.5 MB, free: 2.602 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.179/1.179, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_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.002826/0.002826, allocations: 99.62 kB / 0.7403 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1822, allocations: 95.38 MB / 0.8334 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009275/0.1915, allocations: 6.487 MB / 0.8397 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005522/0.197, allocations: 3.025 MB / 0.8427 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.1976, allocations: 39.62 kB / 0.8427 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002668/0.2002, allocations: 0.9435 MB / 0.8437 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.2017, allocations: 0.5207 MB / 0.8442 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2029, allocations: 441.2 kB / 0.8446 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.2046, allocations: 1.217 MB / 0.8458 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.2056, allocations: 0.5373 MB / 0.8463 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.2065, allocations: 490.3 kB / 0.8468 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/0.2074, allocations: 0.5526 MB / 0.8473 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.2076, allocations: 68 kB / 0.8474 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.2083, allocations: 347.2 kB / 0.8477 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.2087, allocations: 319.1 kB / 0.848 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.2092, allocations: 370.3 kB / 0.8484 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2109, allocations: 1.237 MB / 0.8496 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2109, allocations: 4 kB / 0.8496 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2109, allocations: 0 / 0.8496 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.323e-05/0.2109, allocations: 0 / 0.8496 GB, free: 7.746 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.002305/0.2132, allocations: 1.104 MB / 0.8506 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2133, allocations: 13.94 kB / 0.8507 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.241e-05/0.2133, allocations: 17.5 kB / 0.8507 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.2135, allocations: 114.7 kB / 0.8508 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.2151, allocations: 248.1 kB / 0.851 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.2162, allocations: 0.5231 MB / 0.8515 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.2163, allocations: 45.67 kB / 0.8516 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2164, allocations: 68.36 kB / 0.8516 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.2183, allocations: 1.34 MB / 0.8529 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.2183, allocations: 7.891 kB / 0.853 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-05/0.2184, allocations: 35.98 kB / 0.853 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.2185, allocations: 85.25 kB / 0.8531 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2198, allocations: 0.7465 MB / 0.8538 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.2253, allocations: 4.632 MB / 0.8583 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2264, allocations: 0.5047 MB / 0.8588 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.2268, allocations: 286 kB / 0.8591 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.2268, allocations: 4.438 kB / 0.8591 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2269, allocations: 42.94 kB / 0.8591 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.975e-06/0.2269, allocations: 4 kB / 0.8591 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003967/0.2308, allocations: 1.694 MB / 0.8608 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2309, allocations: 55.84 kB / 0.8608 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.2317, allocations: 0.5548 MB / 0.8614 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.2318, allocations: 37.7 kB / 0.8614 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.2321, allocations: 424 kB / 0.8618 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2323, allocations: 182.5 kB / 0.862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.2325, allocations: 122.6 kB / 0.8621 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2327, allocations: 382.7 kB / 0.8625 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.2331, allocations: 269.9 kB / 0.8627 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.2337, allocations: 0.4891 MB / 0.8632 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.2349, allocations: 0.8044 MB / 0.864 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2349, allocations: 4 kB / 0.864 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001909/0.2368, allocations: 1.081 MB / 0.8651 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.2368, allocations: 8 kB / 0.8651 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2368, allocations: 4 kB / 0.8651 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009396/0.2378, allocations: 279.9 kB / 0.8653 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.2383, allocations: 127.7 kB / 0.8655 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.2454, allocations: 6.682 MB / 0.872 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.246, allocations: 36.09 kB / 0.872 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.2461, allocations: 32 kB / 0.8721 GB, free: 15.52 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.0003838/0.2464, allocations: 254.2 kB / 0.8723 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2466, allocations: 79.47 kB / 0.8724 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2482, allocations: 0.8768 MB / 0.8732 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2482, allocations: 8 kB / 0.8732 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2482, allocations: 4.188 kB / 0.8732 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2482, allocations: 7.984 kB / 0.8732 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.2509, allocations: 1.603 MB / 0.8748 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2509, allocations: 4 kB / 0.8748 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.2512, allocations: 55.89 kB / 0.8749 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.252, allocations: 275.4 kB / 0.8751 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.252, allocations: 8 kB / 0.8751 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/0.2588, allocations: 6.679 MB / 0.8817 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2588, allocations: 7.875 kB / 0.8817 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.2605, allocations: 0.9838 MB / 0.8826 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.2608, allocations: 107.5 kB / 0.8827 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.261, allocations: 19.92 kB / 0.8828 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.2614, allocations: 23.97 kB / 0.8828 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2615, allocations: 47.86 kB / 0.8828 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.2616, allocations: 16 kB / 0.8828 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005289/0.2621, allocations: 387.1 kB / 0.8832 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2621, allocations: 0 / 0.8832 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008788/0.263, allocations: 220 kB / 0.8834 GB, free: 3.273 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.001935/0.2649, allocations: 1.536 MB / 0.8849 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.2671, allocations: 1.236 MB / 0.8861 GB, free: 396 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2671, allocations: 0 / 0.8861 GB, free: 396 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.2684, allocations: 0.8698 MB / 0.887 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.2694, allocations: 226.2 kB / 0.8872 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009404/0.2788, allocations: 6.367 MB / 0.8934 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.2794, allocations: 415.5 kB / 0.8938 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.2798, allocations: 126 kB / 0.8939 GB, free: 8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.2801, allocations: 251.3 kB / 0.8942 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.2801, allocations: 4 kB / 0.8942 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05672/0.3369, allocations: 19.09 MB / 0.9128 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.91, allocations: 3.938 kB / 0.9128 GB, free: 5.125 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.151082111988217] Failed to read output from testmodel.py, exit status != 0: 13.091019961051643 13.116538679 12.901052193 Calling exit ...