Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001347/0.001347, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001621/0.001621, allocations: 211.2 kB / 22.99 MB, free: 4.609 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9834/0.9834, allocations: 149.9 MB / 463.1 MB, free: 10.76 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002117/0.002117, allocations: 65.73 kB / 0.6411 GB, free: 10.23 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1743, allocations: 89.17 MB / 0.7282 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009413/0.1837, allocations: 6.477 MB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.1894, allocations: 3.047 MB / 0.7375 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.19, allocations: 35.69 kB / 0.7375 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.1928, allocations: 0.9485 MB / 0.7384 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1942, allocations: 0.5246 MB / 0.7389 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.1954, allocations: 419.1 kB / 0.7393 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.1969, allocations: 1.225 MB / 0.7405 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008553/0.1977, allocations: 0.5334 MB / 0.7411 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.1985, allocations: 494.3 kB / 0.7415 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008526/0.1994, allocations: 0.5136 MB / 0.742 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1995, allocations: 64 kB / 0.7421 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.2003, allocations: 351.3 kB / 0.7424 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.2007, allocations: 315.1 kB / 0.7427 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.2012, allocations: 378.2 kB / 0.7431 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.2031, allocations: 1.226 MB / 0.7443 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2032, allocations: 3.984 kB / 0.7443 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2032, allocations: 4 kB / 0.7443 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.2032, allocations: 0 / 0.7443 GB, free: 0.5508 MB / 0.5606 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.002399/0.2056, allocations: 1.104 MB / 0.7454 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2056, allocations: 8.031 kB / 0.7454 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.2058, allocations: 122.7 kB / 0.7455 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.2074, allocations: 240.1 kB / 0.7457 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.2087, allocations: 0.523 MB / 0.7462 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.2087, allocations: 53.67 kB / 0.7463 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.2088, allocations: 60.36 kB / 0.7463 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.2107, allocations: 1.344 MB / 0.7476 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.2107, allocations: 7.938 kB / 0.7477 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.2108, allocations: 31.97 kB / 0.7477 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001661/0.211, allocations: 81.27 kB / 0.7478 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2122, allocations: 0.7504 MB / 0.7485 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.2179, allocations: 4.628 MB / 0.753 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.2189, allocations: 0.5133 MB / 0.7535 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.2194, allocations: 286 kB / 0.7538 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.2194, allocations: 4.438 kB / 0.7538 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.2194, allocations: 43 kB / 0.7538 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.2194, allocations: 0 / 0.7538 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003863/0.2233, allocations: 1.69 MB / 0.7555 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2233, allocations: 59.83 kB / 0.7555 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.224, allocations: 0.5625 MB / 0.7561 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.224, allocations: 29.7 kB / 0.7561 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.2244, allocations: 436 kB / 0.7565 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2245, allocations: 178.5 kB / 0.7567 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.2247, allocations: 122.6 kB / 0.7568 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2249, allocations: 378.7 kB / 0.7572 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.2254, allocations: 281.8 kB / 0.7575 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.226, allocations: 492.9 kB / 0.7579 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.2271, allocations: 0.8045 MB / 0.7587 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2271, allocations: 0 / 0.7587 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.349/0.5761, allocations: 1.082 MB / 0.7598 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.5761, allocations: 7.781 kB / 0.7598 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.5761, allocations: 7.469 kB / 0.7598 GB, free: 34.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/0.5771, allocations: 275.1 kB / 0.76 GB, free: 34.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.5777, allocations: 124.5 kB / 0.7602 GB, free: 34.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.5827, allocations: 6.69 MB / 0.7667 GB, free: 29.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006364/0.5834, allocations: 34.92 kB / 0.7667 GB, free: 29.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.5834, allocations: 27.41 kB / 0.7668 GB, free: 29.5 MB / 0.5762 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.0003687/0.5838, allocations: 260.6 kB / 0.767 GB, free: 29.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5839, allocations: 77.8 kB / 0.7671 GB, free: 29.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.5854, allocations: 0.8774 MB / 0.7679 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.5854, allocations: 2.969 kB / 0.7679 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5854, allocations: 3.406 kB / 0.7679 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.5854, allocations: 5.844 kB / 0.7679 GB, free: 29.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.5878, allocations: 1.609 MB / 0.7695 GB, free: 28.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5878, allocations: 2.969 kB / 0.7695 GB, free: 28.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.588, allocations: 63.09 kB / 0.7696 GB, free: 28.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007364/0.5888, allocations: 272.4 kB / 0.7698 GB, free: 28.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.5888, allocations: 9.688 kB / 0.7698 GB, free: 28.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/0.5939, allocations: 6.669 MB / 0.7764 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5939, allocations: 10.97 kB / 0.7764 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5954, allocations: 0.9685 MB / 0.7773 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.5957, allocations: 120.7 kB / 0.7774 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.5958, allocations: 14.84 kB / 0.7774 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.5962, allocations: 31.16 kB / 0.7775 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5963, allocations: 48.28 kB / 0.7775 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.5964, allocations: 12.12 kB / 0.7775 GB, free: 23.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004901/0.5968, allocations: 387.2 kB / 0.7779 GB, free: 23.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5968, allocations: 0 / 0.7779 GB, free: 23.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009052/0.5977, allocations: 223.6 kB / 0.7781 GB, free: 23.56 MB / 0.5762 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.00175/0.5995, allocations: 1.528 MB / 0.7796 GB, free: 22.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.6015, allocations: 1.237 MB / 0.7808 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6015, allocations: 1.219 kB / 0.7808 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6026, allocations: 0.867 MB / 0.7817 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.6036, allocations: 221.3 kB / 0.7819 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009465/0.6131, allocations: 6.375 MB / 0.7881 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.6136, allocations: 413.8 kB / 0.7885 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005471/0.6142, allocations: 130.7 kB / 0.7886 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.6145, allocations: 250.1 kB / 0.7889 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.162e-06/0.6145, allocations: 0 / 0.7889 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08329/0.6978, allocations: 19.24 MB / 0.8077 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.92, allocations: 1.344 kB / 0.8077 GB, free: 10.54 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.74611908197403] Failed to read output from testmodel.py, exit status != 0: 13.041729447897524 13.053004134 12.846917672 Calling exit ...