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.001339/0.001339, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001339/0.001339, 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.334/1.334, 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.003/1.003, allocations: 173.4 MB / 470.7 MB, free: 13.73 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.00184/0.00184, allocations: 68.17 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1849, allocations: 89.52 MB / 0.7353 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003454/0.1883, allocations: 2.056 MB / 0.7373 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005182/0.1936, allocations: 4.058 MB / 0.7412 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.069e-05/0.1937, allocations: 3.938 kB / 0.7412 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.1945, allocations: 199.1 kB / 0.7414 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1946, allocations: 59.42 kB / 0.7415 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1952, allocations: 263.4 kB / 0.7417 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.1958, allocations: 378.8 kB / 0.7421 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.196, allocations: 56.36 kB / 0.7421 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1961, allocations: 111.5 kB / 0.7422 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1963, allocations: 123.5 kB / 0.7424 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1964, allocations: 23.92 kB / 0.7424 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.1969, allocations: 303.6 kB / 0.7427 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.197, allocations: 111.6 kB / 0.7428 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1972, allocations: 151.1 kB / 0.7429 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.1978, allocations: 0.5097 MB / 0.7434 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1978, allocations: 0 / 0.7434 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1978, allocations: 4 kB / 0.7434 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1978, allocations: 0 / 0.7434 GB, free: 9.848 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.001349/0.1992, allocations: 0.76 MB / 0.7442 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1992, allocations: 8.031 kB / 0.7442 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.1993, allocations: 50.73 kB / 0.7442 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.1994, allocations: 36.7 kB / 0.7443 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.1999, allocations: 326.6 kB / 0.7446 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1999, allocations: 15.88 kB / 0.7446 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1999, allocations: 4 kB / 0.7446 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.2005, allocations: 199.5 kB / 0.7448 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2005, allocations: 0 / 0.7448 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.2005, allocations: 8 kB / 0.7448 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2005, allocations: 3.984 kB / 0.7448 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.2013, allocations: 239.8 kB / 0.745 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.2023, allocations: 0.59 MB / 0.7456 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.2028, allocations: 174.5 kB / 0.7458 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.2032, allocations: 140.8 kB / 0.7459 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.2032, allocations: 23.97 kB / 0.7459 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2033, allocations: 34.56 kB / 0.746 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.2033, allocations: 0 / 0.746 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001321/0.2046, allocations: 449.2 kB / 0.7464 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2046, allocations: 51.62 kB / 0.7464 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.2051, allocations: 413.5 kB / 0.7468 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2051, allocations: 29.7 kB / 0.7469 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2053, allocations: 180 kB / 0.747 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.2053, allocations: 39.64 kB / 0.7471 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2054, allocations: 41.69 kB / 0.7471 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2056, allocations: 350.8 kB / 0.7474 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.206, allocations: 167.9 kB / 0.7476 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.2064, allocations: 171.9 kB / 0.7478 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.2073, allocations: 351.8 kB / 0.7481 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2073, allocations: 3.938 kB / 0.7481 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001003/0.2083, allocations: 462.9 kB / 0.7485 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.2084, allocations: 45.69 kB / 0.7486 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2084, allocations: 0 / 0.7486 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2084, allocations: 11.88 kB / 0.7486 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.2087, allocations: 43.94 kB / 0.7486 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2087, allocations: 0 / 0.7486 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.209, allocations: 43.84 kB / 0.7487 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.209, allocations: 11.98 kB / 0.7487 GB, free: 4.191 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.0001492/0.2092, allocations: 157.2 kB / 0.7488 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.2092, allocations: 31.77 kB / 0.7489 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.2102, allocations: 353.1 kB / 0.7492 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2102, allocations: 4 kB / 0.7492 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2102, allocations: 0 / 0.7492 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2102, allocations: 0 / 0.7492 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.2106, allocations: 345.4 kB / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2106, allocations: 0 / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.2109, allocations: 51.88 kB / 0.7496 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2109, allocations: 0 / 0.7496 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2109, allocations: 7.922 kB / 0.7496 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.211, allocations: 0 / 0.7496 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.211, allocations: 0 / 0.7496 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.2119, allocations: 423.1 kB / 0.75 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.212, allocations: 132.8 kB / 0.7501 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.2121, allocations: 3.938 kB / 0.7501 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.2123, allocations: 31.97 kB / 0.7502 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2124, allocations: 15.97 kB / 0.7502 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2124, allocations: 4 kB / 0.7502 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003014/0.2127, allocations: 287.1 kB / 0.7505 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2127, allocations: 3.938 kB / 0.7505 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004242/0.2132, allocations: 119.8 kB / 0.7506 GB, free: 2.172 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.001448/0.2146, allocations: 1.02 MB / 0.7516 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.2157, allocations: 0.495 MB / 0.7521 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2157, allocations: 4 kB / 0.7521 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.2161, allocations: 143.8 kB / 0.7522 GB, free: 484 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2166, allocations: 65.45 kB / 0.7523 GB, free: 416 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3115/0.5281, allocations: 4.168 MB / 0.7563 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.5283, allocations: 0.7844 MB / 0.7571 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000188/0.5285, allocations: 49.02 kB / 0.7571 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.5287, allocations: 103.3 kB / 0.7572 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/0.5287, allocations: 1.875 kB / 0.7572 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.5585, allocations: 8.318 MB / 0.7654 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.698, allocations: 10.2 kB / 0.7654 GB, free: 16.33 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.230826941784471] Failed to read output from testmodel.py, exit status != 0: 8.765178617089987 8.778347849 8.578213329 Calling exit ...