Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001367/0.001367, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001469/0.001469, allocations: 219.8 kB / 23 MB, free: 5.07 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8 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 1.001/1.001, allocations: 150 MB / 463.2 MB, free: 10.46 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.003199/0.003199, allocations: 71.08 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1923, allocations: 89.17 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00851/0.2008, allocations: 5.662 MB / 0.7339 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005364/0.2061, allocations: 2.763 MB / 0.7366 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.2068, allocations: 35.62 kB / 0.7366 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.209, allocations: 0.708 MB / 0.7373 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.2102, allocations: 421.8 kB / 0.7377 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2114, allocations: 399 kB / 0.7381 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.2129, allocations: 0.9555 MB / 0.739 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006878/0.2136, allocations: 382.5 kB / 0.7394 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007674/0.2144, allocations: 382.6 kB / 0.7398 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000832/0.2152, allocations: 434.3 kB / 0.7402 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2153, allocations: 48 kB / 0.7402 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.2161, allocations: 375.2 kB / 0.7406 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.2164, allocations: 251.2 kB / 0.7408 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.2169, allocations: 350.2 kB / 0.7412 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2184, allocations: 0.9767 MB / 0.7421 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2184, allocations: 0 / 0.7421 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2184, allocations: 0 / 0.7421 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.2184, allocations: 0 / 0.7421 GB, free: 3.094 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00203/0.2204, allocations: 0.9208 MB / 0.743 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2205, allocations: 12.03 kB / 0.743 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.2206, allocations: 102.7 kB / 0.7431 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.2221, allocations: 192.3 kB / 0.7433 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/0.2231, allocations: 459.6 kB / 0.7437 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.2231, allocations: 41.36 kB / 0.7438 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.2233, allocations: 48.56 kB / 0.7438 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.2246, allocations: 0.8317 MB / 0.7446 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.2247, allocations: 11.89 kB / 0.7446 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.2247, allocations: 23.98 kB / 0.7447 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.2249, allocations: 68.94 kB / 0.7447 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.226, allocations: 0.5736 MB / 0.7453 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.2315, allocations: 4.485 MB / 0.7497 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.232, allocations: 283.2 kB / 0.7499 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.2324, allocations: 205.3 kB / 0.7501 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.2324, allocations: 12.27 kB / 0.7502 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.2324, allocations: 38.84 kB / 0.7502 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.2324, allocations: 0 / 0.7502 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40): time 0.00592/0.2383, allocations: 2.33 MB / 0.7525 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.2384, allocations: 59.34 kB / 0.7525 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.239, allocations: 462 kB / 0.753 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.239, allocations: 33.7 kB / 0.753 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.2393, allocations: 348.5 kB / 0.7533 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.2395, allocations: 150.7 kB / 0.7535 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2397, allocations: 110.2 kB / 0.7536 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2398, allocations: 362.8 kB / 0.7539 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.2402, allocations: 237.2 kB / 0.7541 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.2408, allocations: 411.3 kB / 0.7545 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.2418, allocations: 0.674 MB / 0.7552 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2418, allocations: 8 kB / 0.7552 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001883/0.2437, allocations: 0.9096 MB / 0.7561 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2437, allocations: 4 kB / 0.7561 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2437, allocations: 12.66 kB / 0.7561 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008331/0.2445, allocations: 226.3 kB / 0.7563 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.2451, allocations: 111.8 kB / 0.7564 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3816/0.6267, allocations: 5.019 MB / 0.7613 GB, free: 32.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.6273, allocations: 36.08 kB / 0.7614 GB, free: 32.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.6274, allocations: 23.38 kB / 0.7614 GB, free: 32.57 MB / 0.5762 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.000375/0.6278, allocations: 229.4 kB / 0.7616 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6279, allocations: 57.77 kB / 0.7617 GB, free: 32.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.6295, allocations: 0.7655 MB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.6295, allocations: 4.219 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6295, allocations: 4.438 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.6295, allocations: 7.234 kB / 0.7624 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.633, allocations: 1.452 MB / 0.7638 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.633, allocations: 2.719 kB / 0.7638 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.6335, allocations: 73.19 kB / 0.7639 GB, free: 32.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.6344, allocations: 208.5 kB / 0.7641 GB, free: 32.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.6345, allocations: 8.438 kB / 0.7641 GB, free: 32.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.6407, allocations: 4.97 MB / 0.769 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6407, allocations: 2.719 kB / 0.769 GB, free: 28.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.6432, allocations: 1.129 MB / 0.7701 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.6437, allocations: 91.61 kB / 0.7702 GB, free: 28.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6438, allocations: 14.11 kB / 0.7702 GB, free: 28.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.6442, allocations: 24.19 kB / 0.7702 GB, free: 28.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.6444, allocations: 45.22 kB / 0.7702 GB, free: 28.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.6445, allocations: 10.5 kB / 0.7703 GB, free: 28.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005417/0.645, allocations: 310.5 kB / 0.7706 GB, free: 28.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.645, allocations: 2.344 kB / 0.7706 GB, free: 28.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001/0.646, allocations: 170.6 kB / 0.7707 GB, free: 28.04 MB / 0.5762 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.002775/0.6488, allocations: 1.685 MB / 0.7724 GB, free: 27.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.6511, allocations: 0.9794 MB / 0.7733 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.6511, allocations: 1.344 kB / 0.7733 GB, free: 26.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.6526, allocations: 0.6655 MB / 0.774 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.6541, allocations: 191.2 kB / 0.7742 GB, free: 26.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.6657, allocations: 5.611 MB / 0.7796 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.6664, allocations: 0.9463 MB / 0.7806 GB, free: 23.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005322/0.6669, allocations: 111.3 kB / 0.7807 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6672, allocations: 210.1 kB / 0.7809 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.6672, allocations: 0 / 0.7809 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0613/0.7285, allocations: 14.66 MB / 0.7952 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.59, allocations: 12 kB / 0.7952 GB, free: 19.35 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.451558880973607] Failed to read output from testmodel.py, exit status != 0: 13.70663692499511 13.718754454 13.497968278 Calling exit ...