Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008162/0.0008162, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009355/0.0009355, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9235/0.9235, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7101/0.7101, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 0.618 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.502e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002786/0.002811, allocations: 1.837 MB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.006352, allocations: 3.386 MB / 0.6232 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.006504, allocations: 3.938 kB / 0.6232 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.007311, allocations: 171.1 kB / 0.6233 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.0078, allocations: 75.42 kB / 0.6234 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.007943, allocations: 51.91 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004852/0.008428, allocations: 279 kB / 0.6237 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.008531, allocations: 21.78 kB / 0.6237 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.008662, allocations: 95.78 kB / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.008775, allocations: 59.81 kB / 0.6239 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.008796, allocations: 11.98 kB / 0.6239 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.008882, allocations: 31.86 kB / 0.6239 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.008952, allocations: 63.77 kB / 0.624 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.00901, allocations: 55.84 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.009248, allocations: 187.3 kB / 0.6242 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.009251, allocations: 0 / 0.6242 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009253, allocations: 0 / 0.6242 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.009259, allocations: 0 / 0.6242 GB, free: 7.238 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.0006203/0.009879, allocations: 468.8 kB / 0.6247 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.009933, allocations: 17.47 kB / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.009973, allocations: 34.75 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004567/0.01043, allocations: 120.6 kB / 0.6248 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.01085, allocations: 204.7 kB / 0.625 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.01087, allocations: 12.38 kB / 0.625 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.01089, allocations: 384 / 0.625 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.01117, allocations: 150.1 kB / 0.6252 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01118, allocations: 192 / 0.6252 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.0112, allocations: 3.938 kB / 0.6252 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.01123, allocations: 15.98 kB / 0.6252 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.0115, allocations: 151.8 kB / 0.6253 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.0122, allocations: 419.5 kB / 0.6257 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.0125, allocations: 170.5 kB / 0.6259 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.01271, allocations: 100.8 kB / 0.626 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.01273, allocations: 4 kB / 0.626 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.01277, allocations: 38.55 kB / 0.626 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.01277, allocations: 0 / 0.626 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0006375/0.01341, allocations: 309.2 kB / 0.6263 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.01346, allocations: 55.41 kB / 0.6264 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.01367, allocations: 253.8 kB / 0.6266 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.0137, allocations: 25.7 kB / 0.6266 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/0.0138, allocations: 140.1 kB / 0.6268 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.01385, allocations: 39.64 kB / 0.6268 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.01392, allocations: 33.7 kB / 0.6269 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01405, allocations: 342.8 kB / 0.6272 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.01419, allocations: 79.92 kB / 0.6273 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.01432, allocations: 71.94 kB / 0.6273 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.01461, allocations: 180.7 kB / 0.6275 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01461, allocations: 0 / 0.6275 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003738/0.01499, allocations: 225.4 kB / 0.6277 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.01501, allocations: 7.984 kB / 0.6277 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.01502, allocations: 0 / 0.6277 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.01504, allocations: 4 kB / 0.6277 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.01523, allocations: 31.97 kB / 0.6278 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.01524, allocations: 4 kB / 0.6278 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-05/0.01534, allocations: 19.88 kB / 0.6278 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01535, allocations: 11.92 kB / 0.6278 GB, free: 3.383 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 0.0001302/0.01548, allocations: 138.8 kB / 0.6279 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.01552, allocations: 23.86 kB / 0.6279 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.01557, allocations: 33.77 kB / 0.628 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01558, allocations: 0 / 0.628 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.01558, allocations: 0 / 0.628 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01559, allocations: 0 / 0.628 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.01584, allocations: 236.5 kB / 0.6282 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01585, allocations: 4 kB / 0.6282 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.01596, allocations: 35.95 kB / 0.6282 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01597, allocations: 0 / 0.6282 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01598, allocations: 4 kB / 0.6282 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01599, allocations: 0 / 0.6282 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01599, allocations: 7.938 kB / 0.6283 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.0164, allocations: 330.6 kB / 0.6286 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.01648, allocations: 43.72 kB / 0.6286 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.0165, allocations: 0 / 0.6286 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.0166, allocations: 15.98 kB / 0.6286 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.01667, allocations: 15.97 kB / 0.6286 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01668, allocations: 8 kB / 0.6286 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001378/0.01682, allocations: 177.2 kB / 0.6288 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01682, allocations: 0 / 0.6288 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002183/0.01704, allocations: 36 kB / 0.6288 GB, free: 2.23 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.000711/0.01775, allocations: 0.8606 MB / 0.6297 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.01812, allocations: 183.8 kB / 0.6299 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01812, allocations: 3.938 kB / 0.6299 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01826, allocations: 91.92 kB / 0.63 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.01863, allocations: 46.33 kB / 0.63 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.02135, allocations: 2.397 MB / 0.6323 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.02144, allocations: 132.1 kB / 0.6325 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.0216, allocations: 65.42 kB / 0.6325 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.0217, allocations: 72.47 kB / 0.6326 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/0.0217, allocations: 0 / 0.6326 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.04429, allocations: 5.612 MB / 0.6381 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.916/6.96, allocations: 11.12 kB / 0.6381 GB, free: 8.891 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.708929528482258] Failed to read output from testmodel.py, exit status != 0: 7.043683941476047 7.052138351 7.040760862 Calling exit ...