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.001392/0.001392, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001606/0.001606, allocations: 219.7 kB / 23 MB, free: 5.004 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.501/1.501, 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 0.9521/0.9521, allocations: 150 MB / 463.2 MB, free: 10.5 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.00299/0.00299, allocations: 66.8 kB / 0.6413 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1817, allocations: 89.18 MB / 0.7283 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007125/0.1888, allocations: 4.509 MB / 0.7327 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.1925, allocations: 1.963 MB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.1928, allocations: 11.94 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.1948, allocations: 0.6187 MB / 0.7353 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008043/0.1956, allocations: 262.6 kB / 0.7355 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.1963, allocations: 251.4 kB / 0.7358 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.1973, allocations: 0.6189 MB / 0.7364 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.198, allocations: 355.1 kB / 0.7367 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.1985, allocations: 251.2 kB / 0.7369 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/0.1991, allocations: 278.9 kB / 0.7372 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.1992, allocations: 40 kB / 0.7373 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.1998, allocations: 259.4 kB / 0.7375 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.2001, allocations: 159.5 kB / 0.7377 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.2004, allocations: 218.9 kB / 0.7379 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.2014, allocations: 0.6071 MB / 0.7385 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2014, allocations: 8 kB / 0.7385 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2014, allocations: 0 / 0.7385 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.2014, allocations: 0 / 0.7385 GB, free: 6.91 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.001642/0.203, allocations: 0.657 MB / 0.7391 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2031, allocations: 12.03 kB / 0.7391 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.2032, allocations: 82.7 kB / 0.7392 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2043, allocations: 152.5 kB / 0.7393 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.2049, allocations: 276.8 kB / 0.7396 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.205, allocations: 29.38 kB / 0.7396 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.205, allocations: 28.38 kB / 0.7397 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.2059, allocations: 0.5355 MB / 0.7402 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2059, allocations: 3.938 kB / 0.7402 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.206, allocations: 23.98 kB / 0.7402 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/0.206, allocations: 24.64 kB / 0.7402 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006945/0.2067, allocations: 390.2 kB / 0.7406 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.2099, allocations: 2.376 MB / 0.7429 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.2104, allocations: 242.5 kB / 0.7432 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.2106, allocations: 96.81 kB / 0.7432 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.2106, allocations: 0 / 0.7432 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.2107, allocations: 38.56 kB / 0.7433 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.2107, allocations: 0 / 0.7433 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002287/0.213, allocations: 0.9073 MB / 0.7442 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.213, allocations: 55.39 kB / 0.7442 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.2134, allocations: 304.4 kB / 0.7445 GB, free: 328 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2134, allocations: 33.7 kB / 0.7445 GB, free: 288 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2136, allocations: 236.1 kB / 0.7448 GB, free: 44 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.2137, allocations: 87.5 kB / 0.7449 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2138, allocations: 61.98 kB / 0.7449 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.214, allocations: 338.8 kB / 0.7452 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.2142, allocations: 108.6 kB / 0.7453 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.2144, allocations: 183.8 kB / 0.7455 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.2149, allocations: 320.4 kB / 0.7458 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2149, allocations: 4 kB / 0.7458 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008458/0.2157, allocations: 441.7 kB / 0.7462 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2157, allocations: 4 kB / 0.7462 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2158, allocations: 4 kB / 0.7463 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.2161, allocations: 98.83 kB / 0.7463 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.2164, allocations: 67.89 kB / 0.7464 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.2203, allocations: 4.081 MB / 0.7504 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.2206, allocations: 12 kB / 0.7504 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.2206, allocations: 12.16 kB / 0.7504 GB, free: 9.797 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.000292/0.2209, allocations: 180.2 kB / 0.7506 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.221, allocations: 39.7 kB / 0.7506 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.2212, allocations: 42.41 kB / 0.7507 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2212, allocations: 4 kB / 0.7507 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2212, allocations: 0 / 0.7507 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.2212, allocations: 3.984 kB / 0.7507 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.2218, allocations: 376.4 kB / 0.751 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2218, allocations: 4 kB / 0.751 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.222, allocations: 31.92 kB / 0.7511 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.2223, allocations: 90.5 kB / 0.7512 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2224, allocations: 8 kB / 0.7512 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.226, allocations: 4.074 MB / 0.7551 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.226, allocations: 3.938 kB / 0.7551 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.2269, allocations: 0.5631 MB / 0.7557 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.2271, allocations: 55.77 kB / 0.7558 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2271, allocations: 0 / 0.7558 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2274, allocations: 15.98 kB / 0.7558 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.2274, allocations: 15.97 kB / 0.7558 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.2274, allocations: 11.94 kB / 0.7558 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002694/0.2277, allocations: 211.1 kB / 0.756 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2277, allocations: 3.938 kB / 0.756 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005516/0.2283, allocations: 100.1 kB / 0.7561 GB, free: 3.559 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.00131/0.2296, allocations: 1.093 MB / 0.7572 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.2306, allocations: 0.6005 MB / 0.7577 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2306, allocations: 4.062 kB / 0.7578 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.2312, allocations: 455.9 kB / 0.7582 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.2317, allocations: 85.83 kB / 0.7583 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3764/0.6082, allocations: 3.36 MB / 0.7615 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.6085, allocations: 0.8405 MB / 0.7624 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.6088, allocations: 59.62 kB / 0.7624 GB, free: 31.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6089, allocations: 112.4 kB / 0.7625 GB, free: 31.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.513e-06/0.6089, allocations: 0 / 0.7625 GB, free: 31.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.6544, allocations: 8.1 MB / 0.7704 GB, free: 31.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.49, allocations: 8.625 kB / 0.7705 GB, free: 31.3 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.34392869286239] Failed to read output from testmodel.py, exit status != 0: 12.607120161876082 12.635701654 12.429249674 Calling exit ...