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.001698/0.001698, allocations: 118 kB / 19.69 MB, free: 2.199 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.001418/0.001418, allocations: 221.1 kB / 23.01 MB, free: 5.047 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.004/1.004, allocations: 150 MB / 463.2 MB, free: 10.47 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.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001987/0.001987, allocations: 76.05 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.191, allocations: 89.16 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006497/0.1975, allocations: 4.524 MB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.2009, allocations: 1.952 MB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.2012, allocations: 15.88 kB / 0.7347 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.203, allocations: 0.6258 MB / 0.7353 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006904/0.2037, allocations: 262.6 kB / 0.7355 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007498/0.2045, allocations: 251.4 kB / 0.7358 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.2053, allocations: 0.6111 MB / 0.7364 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.2058, allocations: 355.1 kB / 0.7367 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.2062, allocations: 255.1 kB / 0.7369 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.2067, allocations: 283 kB / 0.7372 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.2067, allocations: 36 kB / 0.7373 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.2073, allocations: 271.4 kB / 0.7375 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.2074, allocations: 147.5 kB / 0.7377 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.2076, allocations: 222.9 kB / 0.7379 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000755/0.2084, allocations: 0.6148 MB / 0.7385 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2084, allocations: 0 / 0.7385 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2084, allocations: 0 / 0.7385 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2084, allocations: 0 / 0.7385 GB, free: 6.895 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001367/0.2098, allocations: 0.6609 MB / 0.7391 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.2098, allocations: 12.03 kB / 0.7391 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.847e-05/0.2099, allocations: 74.72 kB / 0.7392 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009921/0.2109, allocations: 152.5 kB / 0.7393 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.2115, allocations: 276.8 kB / 0.7396 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.2115, allocations: 29.38 kB / 0.7396 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.2116, allocations: 28.38 kB / 0.7397 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.2125, allocations: 0.5355 MB / 0.7402 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2125, allocations: 7.938 kB / 0.7402 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.2125, allocations: 16 kB / 0.7402 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/0.2126, allocations: 28.64 kB / 0.7402 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.2132, allocations: 386.3 kB / 0.7406 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.2159, allocations: 2.376 MB / 0.7429 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.2164, allocations: 238.5 kB / 0.7431 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.2166, allocations: 96.81 kB / 0.7432 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2166, allocations: 0 / 0.7432 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.2167, allocations: 42.56 kB / 0.7433 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.2167, allocations: 0 / 0.7433 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002152/0.2188, allocations: 0.9099 MB / 0.7442 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.2189, allocations: 55.39 kB / 0.7442 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.2192, allocations: 308.4 kB / 0.7445 GB, free: 316 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2192, allocations: 33.7 kB / 0.7445 GB, free: 276 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.2194, allocations: 236.1 kB / 0.7448 GB, free: 32 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-05/0.2195, allocations: 83.33 kB / 0.7449 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2196, allocations: 61.98 kB / 0.7449 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.2198, allocations: 334.8 kB / 0.7452 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2199, allocations: 108.6 kB / 0.7453 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.2202, allocations: 183.8 kB / 0.7455 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.2206, allocations: 324.4 kB / 0.7458 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2206, allocations: 4 kB / 0.7458 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007676/0.2214, allocations: 442.1 kB / 0.7462 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2214, allocations: 5.719 kB / 0.7462 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2214, allocations: 4 kB / 0.7463 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.2218, allocations: 98.61 kB / 0.7463 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2221, allocations: 71.89 kB / 0.7464 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.2256, allocations: 4.089 MB / 0.7504 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.2259, allocations: 12 kB / 0.7504 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2259, allocations: 8 kB / 0.7504 GB, free: 9.781 MB / 0.5762 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.0002439/0.2261, allocations: 187.6 kB / 0.7506 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.2262, allocations: 31.75 kB / 0.7506 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.2263, allocations: 46.47 kB / 0.7507 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2263, allocations: 4 kB / 0.7507 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2263, allocations: 0 / 0.7507 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2263, allocations: 3.984 kB / 0.7507 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.2268, allocations: 372.5 kB / 0.751 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2268, allocations: 7.938 kB / 0.7511 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.227, allocations: 31.92 kB / 0.7511 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.2273, allocations: 90.5 kB / 0.7512 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2273, allocations: 8 kB / 0.7512 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.2311, allocations: 4.07 MB / 0.7552 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2311, allocations: 3.938 kB / 0.7552 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.2321, allocations: 0.5561 MB / 0.7557 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.2323, allocations: 55.77 kB / 0.7558 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.2324, allocations: 4 kB / 0.7558 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2326, allocations: 15.98 kB / 0.7558 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.2327, allocations: 23.91 kB / 0.7558 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2327, allocations: 8.062 kB / 0.7558 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002899/0.233, allocations: 215 kB / 0.756 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 4 kB / 0.756 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005994/0.2336, allocations: 92 kB / 0.7561 GB, free: 3.543 MB / 0.5762 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.001333/0.2349, allocations: 1.096 MB / 0.7572 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.236, allocations: 0.5977 MB / 0.7578 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.236, allocations: 0 / 0.7578 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.2366, allocations: 455.9 kB / 0.7582 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.2371, allocations: 81.89 kB / 0.7583 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3845/0.6216, allocations: 3.372 MB / 0.7616 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.622, allocations: 0.8314 MB / 0.7624 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.6222, allocations: 58.23 kB / 0.7624 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6223, allocations: 113.4 kB / 0.7625 GB, free: 31.85 MB / 0.5762 GB Notification: Performance of SimCode: time 1.253e-06/0.6223, allocations: 0 / 0.7625 GB, free: 31.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/0.6726, allocations: 8.102 MB / 0.7704 GB, free: 31.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.37, allocations: 9.781 kB / 0.7705 GB, free: 31.24 MB / 0.5762 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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: 16.484996912997303] Failed to read output from testmodel.py, exit status != 0: 12.479093889000069 12.494009525 12.282922086 Calling exit ...