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.001526/0.001526, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001464/0.001464, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.032/1.032, allocations: 150 MB / 463.9 MB, free: 10.18 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="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.001963/0.001963, allocations: 63.78 kB / 0.642 GB, free: 9.863 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1854, allocations: 89.17 MB / 0.729 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.006544/0.192, allocations: 4.238 MB / 0.7332 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.1955, allocations: 1.827 MB / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.1957, allocations: 11.94 kB / 0.735 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.1975, allocations: 0.5915 MB / 0.7355 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006744/0.1982, allocations: 270.6 kB / 0.7358 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.1989, allocations: 257.7 kB / 0.736 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000798/0.1997, allocations: 0.6112 MB / 0.7366 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/0.2003, allocations: 351.4 kB / 0.737 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.2007, allocations: 259.1 kB / 0.7372 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.2012, allocations: 283 kB / 0.7375 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2013, allocations: 36 kB / 0.7375 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.2018, allocations: 231.4 kB / 0.7378 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.202, allocations: 151.5 kB / 0.7379 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.2022, allocations: 187.1 kB / 0.7381 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.203, allocations: 0.6072 MB / 0.7387 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.203, allocations: 3.938 kB / 0.7387 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.203, allocations: 0 / 0.7387 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.203, allocations: 4 kB / 0.7387 GB, free: 6.844 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.00143/0.2045, allocations: 0.6609 MB / 0.7393 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.2045, allocations: 12.03 kB / 0.7393 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.2045, allocations: 9.188 kB / 0.7393 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.2046, allocations: 74.72 kB / 0.7394 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.2056, allocations: 152.5 kB / 0.7396 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.2061, allocations: 284.8 kB / 0.7398 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.2062, allocations: 25.38 kB / 0.7399 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.2062, allocations: 28.38 kB / 0.7399 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.2072, allocations: 0.6975 MB / 0.7406 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2072, allocations: 3.938 kB / 0.7406 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.2073, allocations: 16 kB / 0.7406 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.805e-05/0.2073, allocations: 32.64 kB / 0.7406 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.208, allocations: 382.3 kB / 0.741 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.2106, allocations: 1.738 MB / 0.7427 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.2111, allocations: 238.5 kB / 0.7429 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.2113, allocations: 92.81 kB / 0.743 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2113, allocations: 7.984 kB / 0.743 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2114, allocations: 38.56 kB / 0.743 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.2114, allocations: 4 kB / 0.743 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002216/0.2136, allocations: 0.9076 MB / 0.7439 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.2136, allocations: 59.34 kB / 0.744 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.214, allocations: 304.5 kB / 0.7443 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.214, allocations: 33.64 kB / 0.7443 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.2142, allocations: 228.2 kB / 0.7445 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.2142, allocations: 83.33 kB / 0.7446 GB, free: 480 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.2143, allocations: 69.98 kB / 0.7447 GB, free: 400 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2145, allocations: 338.8 kB / 0.745 GB, free: 52 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2147, allocations: 100.7 kB / 0.7451 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.2149, allocations: 191.7 kB / 0.7453 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.2154, allocations: 320.4 kB / 0.7456 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2154, allocations: 0 / 0.7456 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008128/0.2162, allocations: 442 kB / 0.746 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2162, allocations: 8 kB / 0.746 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2162, allocations: 4 kB / 0.746 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.2166, allocations: 98.44 kB / 0.7461 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.2169, allocations: 64.09 kB / 0.7462 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.2206, allocations: 4.074 MB / 0.7501 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.2209, allocations: 12.03 kB / 0.7502 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2209, allocations: 12 kB / 0.7502 GB, free: 10.31 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.0002475/0.2212, allocations: 185.6 kB / 0.7503 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.2212, allocations: 35.75 kB / 0.7504 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.164e-05/0.2213, allocations: 42.53 kB / 0.7504 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2213, allocations: 4 kB / 0.7504 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.2213, allocations: 0 / 0.7504 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2213, allocations: 0 / 0.7504 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.2218, allocations: 340.5 kB / 0.7507 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2218, allocations: 4 kB / 0.7507 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.222, allocations: 31.97 kB / 0.7508 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.2223, allocations: 102.4 kB / 0.7509 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2224, allocations: 3.938 kB / 0.7509 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.2261, allocations: 4.055 MB / 0.7548 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2261, allocations: 3.938 kB / 0.7548 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.227, allocations: 0.5521 MB / 0.7554 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2271, allocations: 56.05 kB / 0.7554 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.2271, allocations: 8 kB / 0.7554 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2274, allocations: 11.94 kB / 0.7555 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2274, allocations: 27.89 kB / 0.7555 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2274, allocations: 7.938 kB / 0.7555 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002643/0.2277, allocations: 211.1 kB / 0.7557 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2277, allocations: 0 / 0.7557 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005187/0.2282, allocations: 96 kB / 0.7558 GB, free: 4.125 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.001264/0.2295, allocations: 1.1 MB / 0.7569 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009149/0.2304, allocations: 0.5938 MB / 0.7574 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2304, allocations: 0 / 0.7574 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.231, allocations: 455.9 kB / 0.7579 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.2315, allocations: 84.22 kB / 0.7579 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3395/0.571, allocations: 3.372 MB / 0.7612 GB, free: 32.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.5712, allocations: 229.5 kB / 0.7615 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.5714, allocations: 59.28 kB / 0.7615 GB, free: 32.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.5716, allocations: 111.1 kB / 0.7616 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.5716, allocations: 0.5312 kB / 0.7616 GB, free: 32.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05513/0.6267, allocations: 8.486 MB / 0.7699 GB, free: 31.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.88, allocations: 7.531 kB / 0.7699 GB, free: 31.57 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.873392316047102] Failed to read output from testmodel.py, exit status != 0: 13.050805625040084 13.074727741 12.867942061 Calling exit ...