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.00159/0.00159, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001654/0.001654, allocations: 212 kB / 23.03 MB, free: 4.926 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.00265/0.00265, allocations: 291.8 kB / 313.5 MB, free: 2.688 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.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 14.67 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.004553/0.004553, allocations: 95.42 kB / 0.7403 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1868, allocations: 95.39 MB / 0.8334 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009833/0.1967, allocations: 5.355 MB / 0.8386 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.2019, allocations: 2.619 MB / 0.8412 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.2025, allocations: 35.69 kB / 0.8412 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2047, allocations: 0.6797 MB / 0.8419 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2061, allocations: 429.7 kB / 0.8423 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2073, allocations: 411 kB / 0.8427 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.2088, allocations: 0.9594 MB / 0.8436 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.2096, allocations: 378.5 kB / 0.844 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.2104, allocations: 386.6 kB / 0.8444 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.2113, allocations: 434.3 kB / 0.8448 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.2114, allocations: 48 kB / 0.8448 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.2122, allocations: 331.2 kB / 0.8451 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.2126, allocations: 251.2 kB / 0.8454 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.2131, allocations: 294.6 kB / 0.8457 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2146, allocations: 0.9844 MB / 0.8466 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2146, allocations: 0 / 0.8466 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2146, allocations: 0 / 0.8466 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.44e-05/0.2146, allocations: 0 / 0.8466 GB, free: 10.73 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.002252/0.2169, allocations: 0.9254 MB / 0.8475 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2169, allocations: 13.94 kB / 0.8475 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.892e-05/0.2169, allocations: 21.12 kB / 0.8476 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.2171, allocations: 94.7 kB / 0.8476 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.2186, allocations: 204.2 kB / 0.8478 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.2195, allocations: 464.9 kB / 0.8483 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.2196, allocations: 41.36 kB / 0.8483 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.2197, allocations: 56.3 kB / 0.8484 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.2213, allocations: 0.9784 MB / 0.8493 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.2213, allocations: 7.938 kB / 0.8493 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.2214, allocations: 23.98 kB / 0.8494 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.2216, allocations: 64.95 kB / 0.8494 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2226, allocations: 0.5697 MB / 0.85 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.2272, allocations: 3.573 MB / 0.8535 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.2277, allocations: 279.2 kB / 0.8537 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.228, allocations: 213.2 kB / 0.8539 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.228, allocations: 4.281 kB / 0.8539 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2281, allocations: 38.84 kB / 0.854 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/0.2281, allocations: 0 / 0.854 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40): time 0.006007/0.2341, allocations: 2.343 MB / 0.8563 GB, free: 464 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2341, allocations: 63.34 kB / 0.8563 GB, free: 388 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.2347, allocations: 462 kB / 0.8568 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.2348, allocations: 37.7 kB / 0.8568 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.235, allocations: 352.5 kB / 0.8571 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.2352, allocations: 154.7 kB / 0.8573 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.2354, allocations: 106.2 kB / 0.8574 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.2356, allocations: 362.8 kB / 0.8577 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.236, allocations: 241.2 kB / 0.858 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.2365, allocations: 411.3 kB / 0.8584 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.2375, allocations: 0.675 MB / 0.859 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2375, allocations: 0 / 0.859 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001921/0.2395, allocations: 0.9135 MB / 0.8599 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2395, allocations: 8 kB / 0.8599 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2395, allocations: 4.656 kB / 0.8599 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009015/0.2404, allocations: 222.4 kB / 0.8601 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.2409, allocations: 115.8 kB / 0.8602 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00581/0.2468, allocations: 5.01 MB / 0.8651 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.2473, allocations: 36.09 kB / 0.8652 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.2473, allocations: 24 kB / 0.8652 GB, free: 6.738 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.0003615/0.2477, allocations: 221.6 kB / 0.8654 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.2479, allocations: 59.62 kB / 0.8655 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2495, allocations: 0.7659 MB / 0.8662 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2495, allocations: 4 kB / 0.8662 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2496, allocations: 4 kB / 0.8662 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2496, allocations: 3.984 kB / 0.8662 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.2523, allocations: 1.403 MB / 0.8676 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2523, allocations: 0 / 0.8676 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.2528, allocations: 67.88 kB / 0.8677 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007588/0.2535, allocations: 206.6 kB / 0.8679 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.2535, allocations: 8 kB / 0.8679 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005554/0.2591, allocations: 4.945 MB / 0.8727 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.2591, allocations: 7.984 kB / 0.8727 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.2611, allocations: 1.12 MB / 0.8738 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.2614, allocations: 107.5 kB / 0.8739 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.2616, allocations: 8 kB / 0.8739 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2619, allocations: 24.16 kB / 0.8739 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.262, allocations: 39.88 kB / 0.874 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.2621, allocations: 12.06 kB / 0.874 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004253/0.2625, allocations: 322.9 kB / 0.8743 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2625, allocations: 0 / 0.8743 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007785/0.2633, allocations: 172 kB / 0.8745 GB, free: 12.76 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.002352/0.2656, allocations: 1.684 MB / 0.8761 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.2674, allocations: 0.9576 MB / 0.877 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2675, allocations: 8.062 kB / 0.877 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.2685, allocations: 0.6718 MB / 0.8777 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2696, allocations: 181.2 kB / 0.8779 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/0.279, allocations: 5.657 MB / 0.8834 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.2795, allocations: 354.3 kB / 0.8837 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004546/0.2799, allocations: 117 kB / 0.8838 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.2803, allocations: 215.4 kB / 0.884 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.603e-06/0.2803, allocations: 0 / 0.884 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.334, allocations: 15.51 MB / 0.8992 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.21, allocations: 3.938 kB / 0.8992 GB, free: 3.391 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.61367794801481] Failed to read output from testmodel.py, exit status != 0: 13.393562074983492 13.418130093 13.198853201 Calling exit ...