Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0008053/0.0008053, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008778/0.0008778, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9818/0.9818, allocations: 230.6 MB / 256 MB, free: 9.582 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.7911/0.7911, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001362/0.001362, allocations: 62.31 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5352, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002503/0.5377, allocations: 1.857 MB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.5411, allocations: 3.462 MB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.5412, allocations: 2.656 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.5419, allocations: 176.8 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.5421, allocations: 81.72 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.269e-05/0.5422, allocations: 58.75 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.5426, allocations: 282.4 kB / 0.8236 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.5427, allocations: 19.41 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.5428, allocations: 77.42 kB / 0.8237 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.5429, allocations: 77.39 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.5429, allocations: 8.094 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.543, allocations: 32.09 kB / 0.8238 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.5431, allocations: 59.58 kB / 0.8238 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.5432, allocations: 74.77 kB / 0.8239 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.5434, allocations: 209.2 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5434, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5435, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5435, allocations: 0 / 0.8241 GB, free: 12.88 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008123/0.5443, allocations: 470 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5443, allocations: 13.22 kB / 0.8246 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.5444, allocations: 39.08 kB / 0.8246 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.5448, allocations: 121.8 kB / 0.8247 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.5452, allocations: 214.7 kB / 0.8249 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5452, allocations: 2.531 kB / 0.8249 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.5452, allocations: 8.359 kB / 0.8249 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.5455, allocations: 155.9 kB / 0.8251 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5455, allocations: 0 / 0.8251 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5455, allocations: 5.125 kB / 0.8251 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.5455, allocations: 14.08 kB / 0.8251 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.5458, allocations: 162.2 kB / 0.8252 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.5464, allocations: 424.4 kB / 0.8256 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5467, allocations: 180.9 kB / 0.8258 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.5468, allocations: 106.1 kB / 0.8259 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.5468, allocations: 4.547 kB / 0.8259 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.5469, allocations: 34.5 kB / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.5469, allocations: 0 / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0005825/0.5474, allocations: 322.2 kB / 0.8263 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5475, allocations: 52.78 kB / 0.8263 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.5477, allocations: 255.9 kB / 0.8266 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5477, allocations: 26.36 kB / 0.8266 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.5478, allocations: 136.9 kB / 0.8267 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.5478, allocations: 54.61 kB / 0.8268 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.5479, allocations: 31.73 kB / 0.8268 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.548, allocations: 341.2 kB / 0.8271 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5481, allocations: 81.42 kB / 0.8272 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5482, allocations: 82.84 kB / 0.8273 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.5485, allocations: 185.2 kB / 0.8275 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5485, allocations: 1.406 kB / 0.8275 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003587/0.5489, allocations: 234.1 kB / 0.8277 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5489, allocations: 5.391 kB / 0.8277 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5489, allocations: 5.375 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5489, allocations: 4 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5491, allocations: 39.23 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5491, allocations: 1.594 kB / 0.8277 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.5492, allocations: 16.7 kB / 0.8278 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5492, allocations: 10.41 kB / 0.8278 GB, free: 10.61 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 8.969e-05/0.5493, allocations: 137.1 kB / 0.8279 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.5493, allocations: 29.62 kB / 0.8279 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.5494, allocations: 37.52 kB / 0.828 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5494, allocations: 1.156 kB / 0.828 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5494, allocations: 1.094 kB / 0.828 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5494, allocations: 0.7031 kB / 0.828 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.5496, allocations: 227 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5496, allocations: 1.562 kB / 0.8282 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5497, allocations: 42.58 kB / 0.8282 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5497, allocations: 1.188 kB / 0.8282 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5497, allocations: 3.172 kB / 0.8282 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5497, allocations: 8.594 kB / 0.8282 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5497, allocations: 1.125 kB / 0.8282 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.5501, allocations: 345.7 kB / 0.8286 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.5502, allocations: 38.2 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.5502, allocations: 1.375 kB / 0.8286 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5503, allocations: 21.12 kB / 0.8286 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.5503, allocations: 9.703 kB / 0.8286 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5503, allocations: 4.75 kB / 0.8286 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001221/0.5505, allocations: 190.8 kB / 0.8288 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5505, allocations: 0 / 0.8288 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001776/0.5506, allocations: 38.03 kB / 0.8289 GB, free: 9.895 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 (13): * Single equations (assignments): 13 * 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.0005601/0.5512, allocations: 0.8637 MB / 0.8297 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.5515, allocations: 190.6 kB / 0.8299 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5516, allocations: 0 / 0.8299 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5517, allocations: 102.4 kB / 0.83 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.552, allocations: 52.16 kB / 0.83 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5546, allocations: 2.49 MB / 0.8325 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.5547, allocations: 138.6 kB / 0.8326 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000157/0.5549, allocations: 67.3 kB / 0.8327 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.555, allocations: 70.53 kB / 0.8327 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.555, allocations: 0 / 0.8327 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.574, allocations: 5.839 MB / 0.8384 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/7.11, allocations: 5.016 kB / 0.8384 GB, free: 5.379 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.203821611125022] Failed to read output from testmodel.py, exit status != 0: 7.190142928157002 7.199944452 6.654160544 Calling exit ...