Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.001943/0.001943, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.002387/0.002387, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.544/1.544, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.996/0.996, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.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.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",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.002023/0.002023, allocations: 69.12 kB / 0.6368 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 89.13 MB / 0.7238 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007254/0.1827, allocations: 4.419 MB / 0.7281 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.1862, allocations: 1.92 MB / 0.73 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.1865, allocations: 11.94 kB / 0.73 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.1882, allocations: 0.6218 MB / 0.7306 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007393/0.1889, allocations: 266.6 kB / 0.7309 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.1897, allocations: 247.4 kB / 0.7311 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.1904, allocations: 0.6112 MB / 0.7317 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006461/0.1911, allocations: 366.9 kB / 0.7321 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.1914, allocations: 251.2 kB / 0.7323 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.1919, allocations: 286.9 kB / 0.7326 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.192, allocations: 36 kB / 0.7326 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.1925, allocations: 267.4 kB / 0.7329 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1927, allocations: 147.5 kB / 0.733 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.1929, allocations: 222.9 kB / 0.7332 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.1937, allocations: 0.6149 MB / 0.7338 GB, free: 9.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1937, allocations: 0 / 0.7338 GB, free: 9.809 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1937, allocations: 0 / 0.7338 GB, free: 9.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1937, allocations: 0 / 0.7338 GB, free: 9.809 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001387/0.1951, allocations: 0.7246 MB / 0.7345 GB, free: 9.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1952, allocations: 12.03 kB / 0.7345 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.1952, allocations: 13.12 kB / 0.7346 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.1953, allocations: 78.7 kB / 0.7346 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1963, allocations: 152.5 kB / 0.7348 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1968, allocations: 342.6 kB / 0.7351 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1968, allocations: 33.36 kB / 0.7351 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.1969, allocations: 32.38 kB / 0.7352 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.1978, allocations: 0.5314 MB / 0.7357 GB, free: 7.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1978, allocations: 7.938 kB / 0.7357 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.1979, allocations: 16 kB / 0.7357 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.1979, allocations: 28.64 kB / 0.7357 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006504/0.1986, allocations: 386.3 kB / 0.7361 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.2016, allocations: 2.4 MB / 0.7384 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.2022, allocations: 246.5 kB / 0.7387 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2024, allocations: 92.81 kB / 0.7388 GB, free: 4.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2024, allocations: 4 kB / 0.7388 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.2024, allocations: 34.56 kB / 0.7388 GB, free: 4.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.2025, allocations: 0 / 0.7388 GB, free: 4.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.00248/0.2049, allocations: 1.136 MB / 0.7399 GB, free: 3.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.205, allocations: 59.34 kB / 0.74 GB, free: 3.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.2054, allocations: 304.5 kB / 0.7403 GB, free: 2.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.2054, allocations: 29.7 kB / 0.7403 GB, free: 2.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2056, allocations: 236.1 kB / 0.7405 GB, free: 2.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.2056, allocations: 83.27 kB / 0.7406 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2058, allocations: 65.98 kB / 0.7407 GB, free: 2.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.206, allocations: 338.8 kB / 0.741 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.2061, allocations: 108.5 kB / 0.7411 GB, free: 1.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2064, allocations: 187.7 kB / 0.7413 GB, free: 1.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.2068, allocations: 320.9 kB / 0.7416 GB, free: 1.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2068, allocations: 0 / 0.7416 GB, free: 1.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008365/0.2077, allocations: 447 kB / 0.742 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.2077, allocations: 8 kB / 0.742 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2077, allocations: 0 / 0.742 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004191/0.2081, allocations: 102.7 kB / 0.7421 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.2084, allocations: 63.91 kB / 0.7422 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.2126, allocations: 4.392 MB / 0.7465 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.2129, allocations: 8.031 kB / 0.7465 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.2129, allocations: 16 kB / 0.7465 GB, free: 11.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.2132, allocations: 181.8 kB / 0.7467 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.2133, allocations: 35.75 kB / 0.7467 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.156e-05/0.2134, allocations: 38.31 kB / 0.7467 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2134, allocations: 4 kB / 0.7467 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.2134, allocations: 4 kB / 0.7467 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2134, allocations: 0 / 0.7467 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.2139, allocations: 405.3 kB / 0.7471 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2139, allocations: 0 / 0.7471 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.2142, allocations: 47.91 kB / 0.7472 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.2145, allocations: 86.5 kB / 0.7472 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2145, allocations: 4 kB / 0.7472 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.2185, allocations: 4.392 MB / 0.7515 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2185, allocations: 12.09 kB / 0.7515 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.2195, allocations: 0.5521 MB / 0.7521 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.2197, allocations: 124.9 kB / 0.7522 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.2197, allocations: 4 kB / 0.7522 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.2199, allocations: 16.05 kB / 0.7522 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.22, allocations: 15.98 kB / 0.7522 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.22, allocations: 11.94 kB / 0.7523 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002563/0.2203, allocations: 211.1 kB / 0.7525 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2203, allocations: 0 / 0.7525 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005224/0.2208, allocations: 103.9 kB / 0.7526 GB, free: 5.055 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.001277/0.2221, allocations: 1.093 MB / 0.7536 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.2231, allocations: 0.6013 MB / 0.7542 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2231, allocations: 0 / 0.7542 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.2237, allocations: 468.5 kB / 0.7547 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.2242, allocations: 68.52 kB / 0.7547 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.2292, allocations: 3.386 MB / 0.758 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.2297, allocations: 0.8311 MB / 0.7588 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.23, allocations: 58.94 kB / 0.7589 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2301, allocations: 111.4 kB / 0.759 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.2301, allocations: 0 / 0.759 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.2698, allocations: 7.878 MB / 0.7667 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.92, allocations: 7.938 kB / 0.7667 GB, free: 6.441 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.037031318002846] Failed to read output from testmodel.py, exit status != 0: 11.070160206989385 11.085259654 10.888529989 Calling exit ...