Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001223/0.001223, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001326/0.001326, allocations: 220.3 kB / 23.04 MB, free: 5.074 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002846/0.002846, allocations: 287.7 kB / 313.5 MB, free: 2.902 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.215/1.215, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002876/0.002876, allocations: 98.47 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1702, allocations: 95.4 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00772/0.1779, allocations: 5.74 MB / 0.8391 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004775/0.1827, allocations: 2.775 MB / 0.8418 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.1832, allocations: 31.69 kB / 0.8419 GB, free: 48 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1852, allocations: 0.7167 MB / 0.8426 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1863, allocations: 421.8 kB / 0.843 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1873, allocations: 420.5 kB / 0.8434 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1884, allocations: 0.9555 MB / 0.8443 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005594/0.1889, allocations: 382.5 kB / 0.8447 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/0.1894, allocations: 382.6 kB / 0.845 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.19, allocations: 442.2 kB / 0.8454 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.277e-05/0.1901, allocations: 48 kB / 0.8455 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.1908, allocations: 367.2 kB / 0.8458 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.191, allocations: 255.2 kB / 0.8461 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.1914, allocations: 350.2 kB / 0.8464 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1925, allocations: 0.9767 MB / 0.8474 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1925, allocations: 4 kB / 0.8474 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1925, allocations: 0 / 0.8474 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.1925, allocations: 0 / 0.8474 GB, free: 10.38 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001606/0.1941, allocations: 0.9286 MB / 0.8483 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1941, allocations: 13.34 kB / 0.8483 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/0.1942, allocations: 13.19 kB / 0.8483 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.1943, allocations: 98.69 kB / 0.8484 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.1956, allocations: 200.2 kB / 0.8486 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.1965, allocations: 472.9 kB / 0.849 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.1965, allocations: 37.38 kB / 0.8491 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.1967, allocations: 56.28 kB / 0.8491 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1979, allocations: 0.8317 MB / 0.8499 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1979, allocations: 4 kB / 0.8499 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.198, allocations: 28 kB / 0.85 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.1981, allocations: 60.95 kB / 0.85 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/0.1991, allocations: 0.5774 MB / 0.8506 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/0.2038, allocations: 4.497 MB / 0.855 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.2043, allocations: 271.3 kB / 0.8552 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.2046, allocations: 217.3 kB / 0.8555 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2046, allocations: 4.219 kB / 0.8555 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2046, allocations: 38.84 kB / 0.8555 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.2046, allocations: 3.938 kB / 0.8555 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.005649/0.2103, allocations: 2.347 MB / 0.8578 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.2103, allocations: 59.34 kB / 0.8578 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.2109, allocations: 470 kB / 0.8583 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2109, allocations: 33.7 kB / 0.8583 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.2111, allocations: 352.5 kB / 0.8587 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.2113, allocations: 146.7 kB / 0.8588 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.2115, allocations: 106.2 kB / 0.8589 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.2116, allocations: 362.8 kB / 0.8593 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.212, allocations: 241.2 kB / 0.8595 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.2125, allocations: 411.4 kB / 0.8599 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.2135, allocations: 0.6828 MB / 0.8605 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2135, allocations: 0 / 0.8605 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001738/0.2152, allocations: 0.9062 MB / 0.8614 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2153, allocations: 13.97 kB / 0.8614 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2153, allocations: 4 kB / 0.8614 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.2161, allocations: 226.4 kB / 0.8617 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.2166, allocations: 115.8 kB / 0.8618 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005483/0.2221, allocations: 5.038 MB / 0.8667 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.2225, allocations: 27.97 kB / 0.8667 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.2226, allocations: 24.14 kB / 0.8667 GB, free: 5.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003118/0.2229, allocations: 217.6 kB / 0.8669 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.223, allocations: 71.67 kB / 0.867 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.2246, allocations: 0.762 MB / 0.8678 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2246, allocations: 4 kB / 0.8678 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.2246, allocations: 8 kB / 0.8678 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2246, allocations: 4.172 kB / 0.8678 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.2271, allocations: 1.47 MB / 0.8692 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2272, allocations: 4 kB / 0.8692 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.2275, allocations: 63.95 kB / 0.8693 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000706/0.2282, allocations: 210.5 kB / 0.8695 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.2283, allocations: 8 kB / 0.8695 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005187/0.2335, allocations: 4.964 MB / 0.8743 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2335, allocations: 64 / 0.8743 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2353, allocations: 1.131 MB / 0.8754 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.2356, allocations: 95.52 kB / 0.8755 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.2357, allocations: 11.98 kB / 0.8755 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.236, allocations: 28.03 kB / 0.8756 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.2361, allocations: 35.94 kB / 0.8756 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.2361, allocations: 16 kB / 0.8756 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003717/0.2365, allocations: 314.9 kB / 0.8759 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2365, allocations: 0 / 0.8759 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006633/0.2371, allocations: 168 kB / 0.8761 GB, free: 11.35 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002173/0.2393, allocations: 1.699 MB / 0.8777 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.2409, allocations: 0.9576 MB / 0.8787 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2409, allocations: 4 kB / 0.8787 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.242, allocations: 0.6719 MB / 0.8793 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.2429, allocations: 190.5 kB / 0.8795 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008076/0.251, allocations: 5.655 MB / 0.885 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.2516, allocations: 0.9454 MB / 0.886 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.2519, allocations: 121 kB / 0.8861 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.2522, allocations: 211.4 kB / 0.8863 GB, free: 484 kB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.2522, allocations: 0 / 0.8863 GB, free: 484 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04813/0.3003, allocations: 14.79 MB / 0.9007 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.87, allocations: 4 kB / 0.9007 GB, free: 1.977 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.12779675103957] Failed to read output from testmodel.py, exit status != 0: 13.053272093005944 13.08324452 12.885546409 Calling exit ...