Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0007729/0.0007729, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.0008575/0.0008575, allocations: 213.2 kB / 22.25 MB, free: 3.574 MB / 13.93 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 0.944/0.944, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7848/0.7848, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001001/0.001001, allocations: 65.69 kB / 0.7178 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5145, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002379/0.5169, allocations: 1.994 MB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004434/0.5213, allocations: 3.913 MB / 0.8232 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.5215, allocations: 5.281 kB / 0.8232 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.5224, allocations: 175.6 kB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.5226, allocations: 74.67 kB / 0.8234 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/0.5235, allocations: 302.9 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006705/0.5241, allocations: 395.6 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.5243, allocations: 29.14 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.5244, allocations: 115.5 kB / 0.8242 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.5246, allocations: 126.9 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.5246, allocations: 15.75 kB / 0.8243 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.5252, allocations: 316.6 kB / 0.8246 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.5253, allocations: 102.2 kB / 0.8247 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.5254, allocations: 114.8 kB / 0.8248 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.5261, allocations: 0.5317 MB / 0.8254 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5261, allocations: 6.297 kB / 0.8254 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5261, allocations: 0 / 0.8254 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.5261, allocations: 0 / 0.8254 GB, free: 12.32 MB / 0.6198 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.0009703/0.527, allocations: 0.6969 MB / 0.8261 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5271, allocations: 9.969 kB / 0.8261 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.5271, allocations: 43.95 kB / 0.8261 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.5274, allocations: 83.58 kB / 0.8262 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.5278, allocations: 287.1 kB / 0.8265 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5279, allocations: 8.125 kB / 0.8265 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5279, allocations: 10.25 kB / 0.8265 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.5282, allocations: 204.7 kB / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5282, allocations: 0 / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5282, allocations: 3.938 kB / 0.8267 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5282, allocations: 6.719 kB / 0.8267 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.5287, allocations: 249.3 kB / 0.8269 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.5294, allocations: 0.5303 MB / 0.8274 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5296, allocations: 170.2 kB / 0.8276 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.5299, allocations: 133.1 kB / 0.8277 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.53, allocations: 15.53 kB / 0.8277 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.53, allocations: 36 kB / 0.8278 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.53, allocations: 0 / 0.8278 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007627/0.5308, allocations: 443.6 kB / 0.8282 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.5308, allocations: 57.62 kB / 0.8283 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.5311, allocations: 429.7 kB / 0.8287 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.5311, allocations: 25.7 kB / 0.8287 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.5312, allocations: 181.7 kB / 0.8289 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.5313, allocations: 35.64 kB / 0.8289 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.5313, allocations: 47.17 kB / 0.8289 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.5314, allocations: 348.9 kB / 0.8293 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.5317, allocations: 206.3 kB / 0.8295 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.532, allocations: 213.9 kB / 0.8297 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.5325, allocations: 358 kB / 0.83 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5325, allocations: 0.5625 kB / 0.83 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006736/0.5332, allocations: 0.5059 MB / 0.8305 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.5333, allocations: 49.5 kB / 0.8306 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5333, allocations: 1.75 kB / 0.8306 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5333, allocations: 7.938 kB / 0.8306 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.5335, allocations: 44.2 kB / 0.8306 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5335, allocations: 5 kB / 0.8306 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.5336, allocations: 43.28 kB / 0.8307 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.5336, allocations: 7.141 kB / 0.8307 GB, free: 9.422 MB / 0.6198 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.0001302/0.5338, allocations: 149.8 kB / 0.8308 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.5338, allocations: 47.53 kB / 0.8308 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.5344, allocations: 344.7 kB / 0.8312 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5344, allocations: 1.062 kB / 0.8312 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5344, allocations: 4.547 kB / 0.8312 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5344, allocations: 1.984 kB / 0.8312 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.5347, allocations: 295 kB / 0.8315 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5347, allocations: 0 / 0.8315 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5348, allocations: 43.58 kB / 0.8315 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5348, allocations: 1.125 kB / 0.8315 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5349, allocations: 4.078 kB / 0.8315 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5349, allocations: 8.609 kB / 0.8315 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5349, allocations: 4.969 kB / 0.8315 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.5354, allocations: 421.8 kB / 0.8319 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.5355, allocations: 55.2 kB / 0.832 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.5355, allocations: 2.031 kB / 0.832 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.5356, allocations: 23.34 kB / 0.832 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5357, allocations: 23.45 kB / 0.832 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5357, allocations: 4.75 kB / 0.832 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002372/0.5359, allocations: 297.2 kB / 0.8323 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5359, allocations: 3.938 kB / 0.8323 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004437/0.5364, allocations: 117.5 kB / 0.8324 GB, free: 8.523 MB / 0.6198 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.0009038/0.5373, allocations: 1.02 MB / 0.8334 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.5379, allocations: 466.3 kB / 0.8339 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5379, allocations: 0 / 0.8339 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.5381, allocations: 141.1 kB / 0.834 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.5385, allocations: 61.44 kB / 0.8341 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.5429, allocations: 4.391 MB / 0.8384 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.5431, allocations: 183.5 kB / 0.8385 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.5432, allocations: 49.55 kB / 0.8386 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5434, allocations: 108.7 kB / 0.8387 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of SimCode: time 1.262e-06/0.5434, allocations: 5.094 kB / 0.8387 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.5713, allocations: 9.36 MB / 0.8478 GB, free: 340 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.427, allocations: 2.281 kB / 0.8478 GB, free: 340 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.441832850687206] Failed to read output from testmodel.py, exit status != 0: 7.509599993005395 7.52082598 6.992624386 Calling exit ...