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.0007727/0.0007727, 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.0007579/0.0007579, allocations: 208.1 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.9561/0.9561, 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 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.7614/0.7614, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001456/0.001456, allocations: 74.31 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4722, allocations: 102 MB / 0.8178 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002353/0.4745, allocations: 2 MB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00371/0.4782, allocations: 3.909 MB / 0.8236 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.4783, allocations: 2.219 kB / 0.8236 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.479, allocations: 187 kB / 0.8237 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.4791, allocations: 57.89 kB / 0.8238 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.4797, allocations: 318 kB / 0.8241 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.4802, allocations: 396.2 kB / 0.8245 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4803, allocations: 34.09 kB / 0.8245 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.4804, allocations: 119.1 kB / 0.8246 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4806, allocations: 118.5 kB / 0.8247 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.4806, allocations: 15.47 kB / 0.8248 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.4811, allocations: 312.9 kB / 0.8251 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4812, allocations: 102.7 kB / 0.8252 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4813, allocations: 128.3 kB / 0.8253 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006/0.4819, allocations: 0.5265 MB / 0.8258 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4819, allocations: 0.6562 kB / 0.8258 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4819, allocations: 1.469 kB / 0.8258 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4819, allocations: 0 / 0.8258 GB, free: 12.16 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.0008861/0.4828, allocations: 0.698 MB / 0.8265 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4828, allocations: 10.81 kB / 0.8265 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.4829, allocations: 38.91 kB / 0.8265 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.4834, allocations: 157.7 kB / 0.8267 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.4838, allocations: 295 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4838, allocations: 7.906 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4839, allocations: 9.625 kB / 0.827 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.4842, allocations: 223.3 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4842, allocations: 0 / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4842, allocations: 1.031 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4842, allocations: 2.75 kB / 0.8272 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.4847, allocations: 258.4 kB / 0.8274 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.4855, allocations: 0.5405 MB / 0.828 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.4858, allocations: 176 kB / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.486, allocations: 132.7 kB / 0.8283 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.4861, allocations: 24.67 kB / 0.8283 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.4861, allocations: 32.23 kB / 0.8283 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.4861, allocations: 0 / 0.8283 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008158/0.4869, allocations: 477.1 kB / 0.8288 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.4869, allocations: 58 kB / 0.8288 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.4873, allocations: 423.9 kB / 0.8292 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4873, allocations: 30.91 kB / 0.8293 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4874, allocations: 185 kB / 0.8294 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.4875, allocations: 39.66 kB / 0.8295 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.4875, allocations: 45.34 kB / 0.8295 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4877, allocations: 352.2 kB / 0.8298 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.4881, allocations: 214.7 kB / 0.8301 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.4885, allocations: 219.8 kB / 0.8303 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.489, allocations: 380.8 kB / 0.8306 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.489, allocations: 0 / 0.8306 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006733/0.4897, allocations: 0.5268 MB / 0.8311 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.4897, allocations: 44.31 kB / 0.8312 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4898, allocations: 1.406 kB / 0.8312 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4898, allocations: 0 / 0.8312 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.49, allocations: 50.58 kB / 0.8312 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.49, allocations: 3.938 kB / 0.8312 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.4901, allocations: 39.77 kB / 0.8313 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4901, allocations: 10.88 kB / 0.8313 GB, free: 9.223 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.0001181/0.4902, allocations: 159.1 kB / 0.8314 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.4903, allocations: 35.33 kB / 0.8315 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006134/0.4909, allocations: 370.1 kB / 0.8318 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4909, allocations: 0.8438 kB / 0.8318 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4909, allocations: 5.625 kB / 0.8318 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4909, allocations: 4.688 kB / 0.8318 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4912, allocations: 303.7 kB / 0.8321 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4912, allocations: 0 / 0.8321 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4913, allocations: 49.89 kB / 0.8322 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4913, allocations: 0 / 0.8322 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4914, allocations: 4.812 kB / 0.8322 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4914, allocations: 5.156 kB / 0.8322 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4914, allocations: 8.391 kB / 0.8322 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.4919, allocations: 433.5 kB / 0.8326 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.492, allocations: 57.16 kB / 0.8327 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.492, allocations: 1.25 kB / 0.8327 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4922, allocations: 28.36 kB / 0.8327 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.4922, allocations: 18.22 kB / 0.8327 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4922, allocations: 6.391 kB / 0.8327 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002356/0.4925, allocations: 295.3 kB / 0.833 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4925, allocations: 0 / 0.833 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003651/0.4928, allocations: 120.2 kB / 0.8331 GB, free: 8.305 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.0008839/0.4937, allocations: 1.033 MB / 0.8341 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006354/0.4944, allocations: 487.8 kB / 0.8346 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4944, allocations: 1.062 kB / 0.8346 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.4946, allocations: 146.8 kB / 0.8347 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4949, allocations: 64.7 kB / 0.8348 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.4992, allocations: 4.434 MB / 0.8391 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.4993, allocations: 183.4 kB / 0.8393 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.4995, allocations: 58.31 kB / 0.8393 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.4996, allocations: 109.6 kB / 0.8394 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.4996, allocations: 0 / 0.8394 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.5194, allocations: 9.487 MB / 0.8487 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.549, allocations: 3.969 kB / 0.8487 GB, free: 15.86 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 & /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: 10.385089196264744] Failed to read output from testmodel.py, exit status != 0: 7.630860820878297 7.640679021 7.156799912 Calling exit ...