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.001205/0.001205, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001431/0.001431, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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.8962/0.8962, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.7067/0.7067, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 4 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.725e-05, allocations: 5.375 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002098/0.002116, allocations: 1.842 MB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.004935, allocations: 3.444 MB / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.005018, allocations: 0 / 0.6232 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.005695, allocations: 187.1 kB / 0.6234 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.005848, allocations: 79.45 kB / 0.6235 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.334e-05/0.005941, allocations: 63.8 kB / 0.6235 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.006338, allocations: 282.9 kB / 0.6238 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.006444, allocations: 17.8 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.006553, allocations: 95.78 kB / 0.6239 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006666, allocations: 67.8 kB / 0.624 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.006685, allocations: 12 kB / 0.624 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.006757, allocations: 27.92 kB / 0.624 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.006826, allocations: 63.75 kB / 0.6241 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.006881, allocations: 55.86 kB / 0.6241 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.007105, allocations: 203.2 kB / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.007108, allocations: 0 / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.00711, allocations: 0 / 0.6243 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.007116, allocations: 0 / 0.6243 GB, free: 7.273 MB / 0.5886 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.0007066/0.007822, allocations: 476.8 kB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.007869, allocations: 9.469 kB / 0.6248 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.007912, allocations: 42.73 kB / 0.6248 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.008371, allocations: 120.6 kB / 0.6249 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.008695, allocations: 213.8 kB / 0.6251 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.008707, allocations: 4.375 kB / 0.6251 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.008725, allocations: 12.3 kB / 0.6252 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.008992, allocations: 154.1 kB / 0.6253 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.009004, allocations: 192 / 0.6253 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.00902, allocations: 3.938 kB / 0.6253 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.009046, allocations: 11.98 kB / 0.6253 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.009325, allocations: 167.7 kB / 0.6255 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.009876, allocations: 419.7 kB / 0.6259 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.01015, allocations: 182.4 kB / 0.6261 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.01032, allocations: 104.8 kB / 0.6262 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01033, allocations: 0 / 0.6262 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.01036, allocations: 46.48 kB / 0.6262 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.01036, allocations: 0 / 0.6262 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005412/0.0109, allocations: 324.8 kB / 0.6265 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.01093, allocations: 51.41 kB / 0.6266 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.01108, allocations: 252.2 kB / 0.6268 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.0111, allocations: 29.7 kB / 0.6268 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.01117, allocations: 144.1 kB / 0.627 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.01121, allocations: 47.64 kB / 0.627 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.01125, allocations: 29.7 kB / 0.627 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.01133, allocations: 342.8 kB / 0.6274 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01146, allocations: 75.94 kB / 0.6274 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01159, allocations: 87.86 kB / 0.6275 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.01185, allocations: 176.7 kB / 0.6277 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01185, allocations: 0 / 0.6277 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000312/0.01216, allocations: 241.4 kB / 0.6279 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01217, allocations: 7.938 kB / 0.6279 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.01218, allocations: 0 / 0.6279 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01219, allocations: 4 kB / 0.6279 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01233, allocations: 39.89 kB / 0.628 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01234, allocations: 0 / 0.628 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.01242, allocations: 23.88 kB / 0.628 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01243, allocations: 4 kB / 0.628 GB, free: 3.324 MB / 0.5886 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.345e-05/0.01252, allocations: 146.7 kB / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.01254, allocations: 23.86 kB / 0.6282 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.01257, allocations: 25.81 kB / 0.6282 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01258, allocations: 7.984 kB / 0.6282 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01258, allocations: 0 / 0.6282 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01258, allocations: 0 / 0.6282 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01283, allocations: 236.5 kB / 0.6284 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01283, allocations: 0 / 0.6284 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01293, allocations: 39.89 kB / 0.6284 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01293, allocations: 4 kB / 0.6285 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.01294, allocations: 4 kB / 0.6285 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01295, allocations: 0 / 0.6285 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01295, allocations: 4 kB / 0.6285 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01328, allocations: 342.7 kB / 0.6288 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.01333, allocations: 39.77 kB / 0.6288 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01335, allocations: 4 kB / 0.6288 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-05/0.01345, allocations: 19.98 kB / 0.6288 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.01349, allocations: 11.91 kB / 0.6289 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01349, allocations: 8 kB / 0.6289 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.697e-05/0.01359, allocations: 183.1 kB / 0.629 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01359, allocations: 0 / 0.629 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000169/0.01376, allocations: 40 kB / 0.6291 GB, free: 2.141 MB / 0.5886 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.0004935/0.01425, allocations: 0.8722 MB / 0.6299 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.01456, allocations: 191.8 kB / 0.6301 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01456, allocations: 0 / 0.6301 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01469, allocations: 99.86 kB / 0.6302 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01497, allocations: 57.5 kB / 0.6303 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.01692, allocations: 2.46 MB / 0.6327 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.017, allocations: 136.1 kB / 0.6328 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.01713, allocations: 65.44 kB / 0.6329 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.01722, allocations: 68.45 kB / 0.6329 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.01722, allocations: 0 / 0.6329 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.0328, allocations: 5.956 MB / 0.6387 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.216, allocations: 3.5 kB / 0.6387 GB, free: 8.359 MB / 0.6042 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: 9.988435996696353] Failed to read output from testmodel.py, exit status != 0: 7.2994511388242245 7.308494163 7.299735266 Calling exit ...