Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.3 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 66.66 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.187, allocations: 89.53 MB / 0.7353 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003676/0.1907, allocations: 2.157 MB / 0.7374 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005668/0.1964, allocations: 4.07 MB / 0.7413 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1966, allocations: 4 kB / 0.7413 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.1976, allocations: 199 kB / 0.7415 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1978, allocations: 79.28 kB / 0.7416 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.1987, allocations: 286.3 kB / 0.7419 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.1995, allocations: 430.7 kB / 0.7423 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.1997, allocations: 68.69 kB / 0.7424 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.2, allocations: 135.5 kB / 0.7425 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.2002, allocations: 155.3 kB / 0.7426 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.2003, allocations: 20 kB / 0.7427 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006617/0.201, allocations: 323.5 kB / 0.743 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.2011, allocations: 115.6 kB / 0.7431 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.2014, allocations: 166.9 kB / 0.7432 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.2022, allocations: 0.5759 MB / 0.7438 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2022, allocations: 4 kB / 0.7438 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2022, allocations: 0 / 0.7438 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.2023, allocations: 0 / 0.7438 GB, free: 9.453 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001525/0.2038, allocations: 0.8146 MB / 0.7446 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2038, allocations: 8.031 kB / 0.7446 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.2039, allocations: 46.73 kB / 0.7447 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.2049, allocations: 176.4 kB / 0.7448 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000848/0.2058, allocations: 394.2 kB / 0.7452 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2058, allocations: 11.94 kB / 0.7452 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.2058, allocations: 12 kB / 0.7452 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.2066, allocations: 251.5 kB / 0.7455 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2066, allocations: 0 / 0.7455 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2066, allocations: 0 / 0.7455 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2066, allocations: 7.938 kB / 0.7455 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2077, allocations: 327.7 kB / 0.7458 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.2093, allocations: 0.6915 MB / 0.7465 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.2099, allocations: 210.4 kB / 0.7467 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.2105, allocations: 185 kB / 0.7468 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.2106, allocations: 19.97 kB / 0.7468 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2106, allocations: 42.5 kB / 0.7469 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 3.707e-06/0.2106, allocations: 7.984 kB / 0.7469 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.001871/0.2125, allocations: 0.5597 MB / 0.7474 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.2126, allocations: 55.41 kB / 0.7475 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.2131, allocations: 437.9 kB / 0.7479 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.2132, allocations: 29.7 kB / 0.7479 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.2134, allocations: 188.6 kB / 0.7481 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.2134, allocations: 43.58 kB / 0.7482 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2136, allocations: 53.69 kB / 0.7482 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2137, allocations: 354.8 kB / 0.7486 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.2144, allocations: 288 kB / 0.7488 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.2151, allocations: 304.2 kB / 0.7491 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2164, allocations: 0.5119 MB / 0.7496 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2164, allocations: 0 / 0.7496 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001609/0.2181, allocations: 0.7149 MB / 0.7503 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.2181, allocations: 41.69 kB / 0.7504 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2182, allocations: 0 / 0.7504 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2182, allocations: 7.938 kB / 0.7504 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.2187, allocations: 71.86 kB / 0.7504 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2187, allocations: 3.984 kB / 0.7504 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.2191, allocations: 51.78 kB / 0.7505 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.2191, allocations: 16 kB / 0.7505 GB, free: 2.332 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.2193, allocations: 153.8 kB / 0.7506 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.2194, allocations: 35.77 kB / 0.7507 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.2208, allocations: 440.8 kB / 0.7511 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2208, allocations: 11.94 kB / 0.7511 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2209, allocations: 0 / 0.7511 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2209, allocations: 0 / 0.7511 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.2213, allocations: 373.3 kB / 0.7515 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.2214, allocations: 0 / 0.7515 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.2218, allocations: 55.92 kB / 0.7515 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2218, allocations: 4 kB / 0.7515 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2218, allocations: 11.98 kB / 0.7515 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.2218, allocations: 3.938 kB / 0.7515 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2218, allocations: 0 / 0.7515 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2231, allocations: 0.5052 MB / 0.752 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.2233, allocations: 132.8 kB / 0.7522 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.2234, allocations: 8 kB / 0.7522 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.2238, allocations: 39.89 kB / 0.7522 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.2239, allocations: 15.97 kB / 0.7522 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.2239, allocations: 11.98 kB / 0.7522 GB, free: 468 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000356/0.2243, allocations: 299.1 kB / 0.7525 GB, free: 172 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2243, allocations: 0 / 0.7525 GB, free: 172 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005261/0.2248, allocations: 131.8 kB / 0.7526 GB, free: 40 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3496/0.5744, allocations: 1.109 MB / 0.7537 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.576, allocations: 0.6803 MB / 0.7544 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5761, allocations: 1.75 kB / 0.7544 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.5766, allocations: 193.1 kB / 0.7546 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.5773, allocations: 54.59 kB / 0.7546 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/0.5855, allocations: 5.21 MB / 0.7597 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5858, allocations: 0.7989 MB / 0.7605 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002892/0.5861, allocations: 61.56 kB / 0.7606 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.5864, allocations: 112.4 kB / 0.7607 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of SimCode: time 6.32e-07/0.5864, allocations: 0 / 0.7607 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.6247, allocations: 9.108 MB / 0.7696 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.033, allocations: 1.531 kB / 0.7696 GB, free: 15.61 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.727671683067456] Failed to read output from testmodel.py, exit status != 0: 9.101606601849198 9.112734466 8.90832983 Calling exit ...