Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001703/0.001703, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.002/0.002, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.357/1.357, 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.013/1.013, allocations: 173.4 MB / 470.6 MB, free: 13.65 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.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003108/0.003108, allocations: 64.16 kB / 0.6478 GB, free: 11.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1949, allocations: 89.52 MB / 0.7352 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003691/0.1986, allocations: 2.047 MB / 0.7372 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005209/0.2038, allocations: 4.058 MB / 0.7411 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.204, allocations: 0 / 0.7411 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.2049, allocations: 215 kB / 0.7414 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.205, allocations: 59.48 kB / 0.7414 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.2058, allocations: 267.3 kB / 0.7417 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005929/0.2064, allocations: 374.9 kB / 0.742 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.2065, allocations: 48.39 kB / 0.7421 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.2067, allocations: 111.6 kB / 0.7422 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.2069, allocations: 127.4 kB / 0.7423 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.2069, allocations: 16 kB / 0.7423 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.2074, allocations: 311.5 kB / 0.7426 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2076, allocations: 107.6 kB / 0.7427 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2077, allocations: 139.1 kB / 0.7428 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.2083, allocations: 0.5175 MB / 0.7433 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2084, allocations: 4 kB / 0.7434 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2084, allocations: 0 / 0.7434 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2084, allocations: 4 kB / 0.7434 GB, free: 9.895 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001363/0.2098, allocations: 0.76 MB / 0.7441 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2098, allocations: 12.02 kB / 0.7441 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.2099, allocations: 38.75 kB / 0.7441 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.2099, allocations: 40.7 kB / 0.7442 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.2105, allocations: 338.6 kB / 0.7445 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2105, allocations: 7.938 kB / 0.7445 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2105, allocations: 8 kB / 0.7445 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.211, allocations: 200 kB / 0.7447 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2111, allocations: 0 / 0.7447 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.2111, allocations: 4 kB / 0.7447 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2111, allocations: 0 / 0.7447 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.2118, allocations: 247.7 kB / 0.745 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.2128, allocations: 0.5863 MB / 0.7455 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.2133, allocations: 178.3 kB / 0.7457 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.2137, allocations: 140.7 kB / 0.7458 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.2138, allocations: 27.98 kB / 0.7459 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.2138, allocations: 30.56 kB / 0.7459 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2138, allocations: 0 / 0.7459 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001347/0.2152, allocations: 445.2 kB / 0.7463 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2152, allocations: 59.62 kB / 0.7464 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.2157, allocations: 409.6 kB / 0.7468 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2157, allocations: 29.64 kB / 0.7468 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2158, allocations: 183.9 kB / 0.747 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.2159, allocations: 43.61 kB / 0.747 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.216, allocations: 41.69 kB / 0.747 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2162, allocations: 346.8 kB / 0.7474 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.2166, allocations: 171.9 kB / 0.7475 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.217, allocations: 167.9 kB / 0.7477 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/0.2178, allocations: 351.8 kB / 0.748 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.2179, allocations: 7.938 kB / 0.748 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001/0.2189, allocations: 466.8 kB / 0.7485 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.2189, allocations: 41.69 kB / 0.7485 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2189, allocations: 0 / 0.7485 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.219, allocations: 7.938 kB / 0.7485 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.2193, allocations: 47.95 kB / 0.7486 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2193, allocations: 3.984 kB / 0.7486 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2196, allocations: 35.86 kB / 0.7486 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2196, allocations: 4 kB / 0.7486 GB, free: 4.238 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 (12): * Single equations (assignments): 11 * 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.0001639/0.2198, allocations: 153.8 kB / 0.7488 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.2198, allocations: 35.77 kB / 0.7488 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.2208, allocations: 348.4 kB / 0.7491 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2208, allocations: 8 kB / 0.7491 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2208, allocations: 0 / 0.7491 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2208, allocations: 3.984 kB / 0.7491 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.2212, allocations: 333.4 kB / 0.7495 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2212, allocations: 0 / 0.7495 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2215, allocations: 51.94 kB / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2215, allocations: 4 kB / 0.7495 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.2215, allocations: 3.938 kB / 0.7495 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2215, allocations: 0 / 0.7495 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2215, allocations: 4 kB / 0.7495 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.2224, allocations: 423.7 kB / 0.7499 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.2226, allocations: 128.8 kB / 0.7501 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.2226, allocations: 7.938 kB / 0.7501 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.2229, allocations: 27.95 kB / 0.7501 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.223, allocations: 11.98 kB / 0.7501 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.223, allocations: 7.984 kB / 0.7501 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002976/0.2233, allocations: 291.1 kB / 0.7504 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2233, allocations: 4 kB / 0.7504 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000446/0.2238, allocations: 111.8 kB / 0.7505 GB, free: 2.23 MB / 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 (11): * Single equations (assignments): 11 * 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.0015/0.2253, allocations: 1.036 MB / 0.7515 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.2264, allocations: 499 kB / 0.752 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2264, allocations: 7.875 kB / 0.752 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2268, allocations: 147.8 kB / 0.7521 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.2274, allocations: 57.02 kB / 0.7522 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3281/0.5554, allocations: 4.174 MB / 0.7563 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.5557, allocations: 0.7868 MB / 0.757 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.5559, allocations: 48.41 kB / 0.7571 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.556, allocations: 100.1 kB / 0.7572 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.556, allocations: 3 kB / 0.7572 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.5965, allocations: 8.315 MB / 0.7653 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.757, allocations: 6.844 kB / 0.7653 GB, free: 16.49 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_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_EN12975SolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.620260121999308] Failed to read output from testmodel.py, exit status != 0: 8.825804613996297 8.83805386 8.627404144 Calling exit ...