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.001248/0.001248, 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.0009949/0.0009949, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7086/0.7086, allocations: 154.6 MB / 413.7 MB, free: 0.832 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 1.883e-06/1.883e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.458e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002637/0.002662, allocations: 1.853 MB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.006138, allocations: 3.444 MB / 0.6232 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.006275, allocations: 0 / 0.6232 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.007053, allocations: 187.1 kB / 0.6234 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.00725, allocations: 87.39 kB / 0.6235 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.007361, allocations: 55.86 kB / 0.6235 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.007775, allocations: 282.9 kB / 0.6238 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.457e-05/0.007869, allocations: 17.8 kB / 0.6238 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.007986, allocations: 95.78 kB / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.008093, allocations: 75.8 kB / 0.624 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.008112, allocations: 8 kB / 0.624 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.008193, allocations: 23.98 kB / 0.624 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.008255, allocations: 67.69 kB / 0.6241 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.008308, allocations: 51.86 kB / 0.6241 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.008544, allocations: 199.2 kB / 0.6243 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.008548, allocations: 0 / 0.6243 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.00855, allocations: 0 / 0.6243 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.008555, allocations: 0 / 0.6243 GB, free: 7.289 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.0006416/0.009197, allocations: 480.8 kB / 0.6248 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.009248, allocations: 13.45 kB / 0.6248 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.009288, allocations: 38.75 kB / 0.6248 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.00975, allocations: 120.5 kB / 0.6249 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.01017, allocations: 217.8 kB / 0.6251 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.01018, allocations: 384 / 0.6251 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.0102, allocations: 4.375 kB / 0.6252 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.01046, allocations: 158.1 kB / 0.6253 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.01046, allocations: 4.125 kB / 0.6253 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.01048, allocations: 3.938 kB / 0.6253 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.0105, allocations: 19.98 kB / 0.6253 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.01076, allocations: 155.8 kB / 0.6255 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.01135, allocations: 427.6 kB / 0.6259 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.01161, allocations: 174.5 kB / 0.6261 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.01176, allocations: 104.8 kB / 0.6262 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.01177, allocations: 0 / 0.6262 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.01179, allocations: 38.56 kB / 0.6262 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.0118, allocations: 0 / 0.6262 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0005358/0.01233, allocations: 321.5 kB / 0.6265 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.01237, allocations: 51.41 kB / 0.6265 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.01254, allocations: 256.2 kB / 0.6268 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01256, allocations: 29.7 kB / 0.6268 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.01263, allocations: 144.1 kB / 0.627 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.01267, allocations: 43.66 kB / 0.627 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.01272, allocations: 33.69 kB / 0.627 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01283, allocations: 342.7 kB / 0.6274 GB, free: 4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.01297, allocations: 79.92 kB / 0.6274 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.0131, allocations: 83.92 kB / 0.6275 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.01337, allocations: 183.8 kB / 0.6277 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01338, allocations: 0 / 0.6277 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003269/0.0137, allocations: 241.4 kB / 0.6279 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01372, allocations: 5.875 kB / 0.6279 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01373, allocations: 0 / 0.6279 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01374, allocations: 4 kB / 0.6279 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.0139, allocations: 31.97 kB / 0.628 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.0139, allocations: 0 / 0.628 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.01399, allocations: 27.86 kB / 0.628 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01401, allocations: 4 kB / 0.628 GB, free: 3.348 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.0001055/0.01411, allocations: 146.7 kB / 0.6281 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.01414, allocations: 23.86 kB / 0.6282 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.01418, allocations: 29.8 kB / 0.6282 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01419, allocations: 4 kB / 0.6282 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01419, allocations: 0 / 0.6282 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.0142, allocations: 3.984 kB / 0.6282 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.0144, allocations: 236.5 kB / 0.6284 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.0144, allocations: 4 kB / 0.6284 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01451, allocations: 35.95 kB / 0.6285 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01452, allocations: 8 kB / 0.6285 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01453, allocations: 7.984 kB / 0.6285 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01453, allocations: 0 / 0.6285 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01453, allocations: 3.938 kB / 0.6285 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.01489, allocations: 339.1 kB / 0.6288 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.01494, allocations: 39.77 kB / 0.6288 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01497, allocations: 12 kB / 0.6288 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.01506, allocations: 7.984 kB / 0.6289 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01511, allocations: 11.98 kB / 0.6289 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01512, allocations: 7.984 kB / 0.6289 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001093/0.01523, allocations: 187.1 kB / 0.629 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/0.01523, allocations: 3.938 kB / 0.6291 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001812/0.01541, allocations: 36 kB / 0.6291 GB, free: 2.152 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.0005823/0.01599, allocations: 0.8759 MB / 0.6299 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.01634, allocations: 187.8 kB / 0.6301 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01634, allocations: 4 kB / 0.6301 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.01648, allocations: 95.91 kB / 0.6302 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01683, allocations: 51.34 kB / 0.6303 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.01907, allocations: 2.467 MB / 0.6327 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.01925, allocations: 136.1 kB / 0.6328 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.01943, allocations: 61.45 kB / 0.6329 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.01953, allocations: 64.45 kB / 0.6329 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.143e-06/0.01953, allocations: 0 / 0.6329 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.0398, allocations: 5.968 MB / 0.6388 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/6.994, allocations: 3.5 kB / 0.6388 GB, free: 8.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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.67292012181133] Failed to read output from testmodel.py, exit status != 0: 7.078878968954086 7.092821024 7.082327075 Calling exit ...