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.0008315/0.0008315, allocations: 113.3 kB / 18.93 MB, free: 1.27 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.0009446/0.0009446, allocations: 219.4 kB / 22.25 MB, free: 3.699 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.9659/0.9659, allocations: 230.6 MB / 256 MB, free: 9.801 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.7955/0.7955, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009351/0.0009351, allocations: 71.05 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4836, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00237/0.486, allocations: 2.099 MB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.4901, allocations: 4.241 MB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4902, allocations: 4.406 kB / 0.8241 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.4909, allocations: 201.3 kB / 0.8243 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.491, allocations: 62.19 kB / 0.8243 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.4917, allocations: 316.1 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.4922, allocations: 399.7 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4923, allocations: 33.41 kB / 0.825 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.4924, allocations: 115.1 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.4926, allocations: 134.1 kB / 0.8253 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.4926, allocations: 16.22 kB / 0.8253 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.4931, allocations: 346.2 kB / 0.8256 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4932, allocations: 106.7 kB / 0.8257 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4933, allocations: 147.8 kB / 0.8259 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.4939, allocations: 0.5287 MB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4939, allocations: 1.531 kB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.494, allocations: 0 / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.494, allocations: 0 / 0.8264 GB, free: 11.79 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.001167/0.4951, allocations: 0.7048 MB / 0.8271 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4952, allocations: 10.16 kB / 0.8271 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.4952, allocations: 39.41 kB / 0.8271 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.4957, allocations: 158.8 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.4962, allocations: 294.8 kB / 0.8275 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4962, allocations: 4.812 kB / 0.8275 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.4962, allocations: 9.594 kB / 0.8276 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.4966, allocations: 215.2 kB / 0.8278 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4966, allocations: 3.984 kB / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.4966, allocations: 5.969 kB / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4966, allocations: 1.375 kB / 0.8278 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.497, allocations: 260.1 kB / 0.828 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.4978, allocations: 0.5752 MB / 0.8286 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.4981, allocations: 175.7 kB / 0.8288 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.4983, allocations: 141.1 kB / 0.8289 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.4983, allocations: 18.58 kB / 0.8289 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4984, allocations: 35.72 kB / 0.8289 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.4984, allocations: 1.094 kB / 0.8289 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008053/0.4992, allocations: 464.2 kB / 0.8294 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4992, allocations: 62.28 kB / 0.8294 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.4996, allocations: 424.9 kB / 0.8298 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4996, allocations: 29.7 kB / 0.8299 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4997, allocations: 181.8 kB / 0.83 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.4997, allocations: 42.92 kB / 0.8301 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.4998, allocations: 44.91 kB / 0.8301 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4999, allocations: 348 kB / 0.8305 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.5002, allocations: 177.1 kB / 0.8306 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.5005, allocations: 186.5 kB / 0.8308 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.5011, allocations: 368.7 kB / 0.8312 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5011, allocations: 0 / 0.8312 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006531/0.5018, allocations: 488 kB / 0.8316 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.5018, allocations: 47.67 kB / 0.8317 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5018, allocations: 3.938 kB / 0.8317 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5018, allocations: 1.875 kB / 0.8317 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.502, allocations: 52.08 kB / 0.8317 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.502, allocations: 5.969 kB / 0.8317 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.5022, allocations: 35.47 kB / 0.8318 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.5022, allocations: 10.19 kB / 0.8318 GB, free: 8.949 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.0001218/0.5023, allocations: 150.5 kB / 0.8319 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.5024, allocations: 35.39 kB / 0.832 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.503, allocations: 378.6 kB / 0.8323 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.503, allocations: 1.656 kB / 0.8323 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.503, allocations: 7.875 kB / 0.8323 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.503, allocations: 0.6562 kB / 0.8323 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.5033, allocations: 327.3 kB / 0.8326 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5033, allocations: 0.9375 kB / 0.8326 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.5034, allocations: 46 kB / 0.8327 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5034, allocations: 0 / 0.8327 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.5035, allocations: 8.938 kB / 0.8327 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5035, allocations: 4 kB / 0.8327 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5035, allocations: 5.062 kB / 0.8327 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.504, allocations: 440.6 kB / 0.8331 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-05/0.5041, allocations: 51.61 kB / 0.8332 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.5041, allocations: 5.812 kB / 0.8332 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.5043, allocations: 23.95 kB / 0.8332 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.5043, allocations: 18.56 kB / 0.8332 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5043, allocations: 10.31 kB / 0.8332 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002441/0.5046, allocations: 295.7 kB / 0.8335 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5046, allocations: 0 / 0.8335 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004313/0.505, allocations: 124.3 kB / 0.8336 GB, free: 8.02 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.0009267/0.5059, allocations: 1.028 MB / 0.8346 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006694/0.5066, allocations: 480.3 kB / 0.8351 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5066, allocations: 0 / 0.8351 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.5068, allocations: 147.5 kB / 0.8352 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.5072, allocations: 73 kB / 0.8353 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.5116, allocations: 4.286 MB / 0.8395 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.5122, allocations: 0.7903 MB / 0.8403 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.5124, allocations: 53.88 kB / 0.8403 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.5125, allocations: 109.7 kB / 0.8404 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.5125, allocations: 0 / 0.8404 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.5375, allocations: 8.747 MB / 0.849 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.588, allocations: 8.375 kB / 0.849 GB, free: 15.77 MB / 0.6355 GB " [Timeout remaining time 652] (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.635786129860207] Failed to read output from testmodel.py, exit status != 0: 7.669434919022024 7.67849296 7.182603051 Calling exit ...