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.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.0008356/0.0008356, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008511/0.0008511, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9321/0.9321, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7553/0.7553, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: 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.000987/0.000987, allocations: 66.66 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4783, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002473/0.4808, allocations: 1.995 MB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.4845, allocations: 3.898 MB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4846, allocations: 1.969 kB / 0.8236 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.4853, allocations: 190.8 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.4854, allocations: 61.88 kB / 0.8238 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000578/0.486, allocations: 310.5 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.4865, allocations: 392.6 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.4866, allocations: 36.92 kB / 0.8245 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.4868, allocations: 121 kB / 0.8246 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4869, allocations: 116.9 kB / 0.8247 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.4869, allocations: 15.31 kB / 0.8248 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.4873, allocations: 318.1 kB / 0.8251 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.4874, allocations: 106.4 kB / 0.8252 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4875, allocations: 118.4 kB / 0.8253 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.4881, allocations: 0.5299 MB / 0.8258 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4881, allocations: 0.7969 kB / 0.8258 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4881, allocations: 0 / 0.8258 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4881, allocations: 0 / 0.8258 GB, free: 12.14 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.0009191/0.489, allocations: 0.6958 MB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4891, allocations: 10 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.4891, allocations: 38.88 kB / 0.8265 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.4897, allocations: 160.5 kB / 0.8267 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.4902, allocations: 290.8 kB / 0.8269 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4902, allocations: 12.67 kB / 0.827 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4902, allocations: 8.906 kB / 0.827 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.4906, allocations: 217.9 kB / 0.8272 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.4906, allocations: 0 / 0.8272 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4906, allocations: 1.156 kB / 0.8272 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4906, allocations: 5.438 kB / 0.8272 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.4911, allocations: 264.4 kB / 0.8274 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.4918, allocations: 0.5395 MB / 0.828 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4921, allocations: 175.9 kB / 0.8281 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.4923, allocations: 137.5 kB / 0.8283 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.4924, allocations: 23.97 kB / 0.8283 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4924, allocations: 32.36 kB / 0.8283 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.4924, allocations: 3.938 kB / 0.8283 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008283/0.4932, allocations: 474.1 kB / 0.8288 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4933, allocations: 60.53 kB / 0.8288 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.4936, allocations: 425.3 kB / 0.8292 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.4936, allocations: 26.83 kB / 0.8293 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4937, allocations: 185.3 kB / 0.8294 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.4938, allocations: 42.97 kB / 0.8295 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.4939, allocations: 45.09 kB / 0.8295 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.494, allocations: 344.6 kB / 0.8298 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.4943, allocations: 218.7 kB / 0.8301 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.4947, allocations: 219.7 kB / 0.8303 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.4953, allocations: 376 kB / 0.8306 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4953, allocations: 4 kB / 0.8306 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006483/0.4959, allocations: 0.5228 MB / 0.8311 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.496, allocations: 46.38 kB / 0.8312 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.496, allocations: 4 kB / 0.8312 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.496, allocations: 5.094 kB / 0.8312 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.4962, allocations: 45.56 kB / 0.8312 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4962, allocations: 3.938 kB / 0.8312 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4963, allocations: 39.22 kB / 0.8313 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4964, allocations: 6.906 kB / 0.8313 GB, free: 9.195 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.0001279/0.4965, allocations: 159.7 kB / 0.8314 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.4965, allocations: 39.47 kB / 0.8315 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.4972, allocations: 366 kB / 0.8318 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4972, allocations: 1.062 kB / 0.8318 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4972, allocations: 3.938 kB / 0.8318 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4972, allocations: 2.406 kB / 0.8318 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4975, allocations: 299.2 kB / 0.8321 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4975, allocations: 0 / 0.8321 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.4976, allocations: 57.73 kB / 0.8322 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4977, allocations: 5.156 kB / 0.8322 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4977, allocations: 3.344 kB / 0.8322 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4977, allocations: 1.797 kB / 0.8322 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4977, allocations: 3.938 kB / 0.8322 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.4982, allocations: 436.1 kB / 0.8326 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.4983, allocations: 51.97 kB / 0.8326 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.4984, allocations: 5.188 kB / 0.8326 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.4985, allocations: 28.92 kB / 0.8327 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.4986, allocations: 18.86 kB / 0.8327 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4986, allocations: 5.672 kB / 0.8327 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002528/0.4988, allocations: 295.9 kB / 0.833 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4988, allocations: 4 kB / 0.833 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004859/0.4993, allocations: 124.4 kB / 0.8331 GB, free: 8.27 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.0009249/0.5002, allocations: 1.033 MB / 0.8341 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006683/0.5009, allocations: 482.3 kB / 0.8346 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5009, allocations: 1.156 kB / 0.8346 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.5012, allocations: 146 kB / 0.8347 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.5015, allocations: 64.81 kB / 0.8348 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.506, allocations: 4.429 MB / 0.8391 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.5062, allocations: 188 kB / 0.8393 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.5064, allocations: 57.84 kB / 0.8393 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.5065, allocations: 110.2 kB / 0.8394 GB, free: 4.754 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.5065, allocations: 4 kB / 0.8394 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.5329, allocations: 9.488 MB / 0.8487 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/7.208, allocations: 8.062 kB / 0.8487 GB, free: 15.83 MB / 0.6355 GB " [Timeout remaining time 653] (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: 10.132748083211482] Failed to read output from testmodel.py, exit status != 0: 7.295773133635521 7.307884897 6.817663144 Calling exit ...