Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008227/0.0008227, 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.0008967/0.0008967, allocations: 165.9 kB / 22.45 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.9297/0.9297, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7415/0.7415, allocations: 154.6 MB / 413.8 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.508e-05, allocations: 6.359 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002358/0.002383, allocations: 1.827 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00305/0.005433, allocations: 3.405 MB / 0.6232 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.00553, allocations: 4 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.006245, allocations: 171.1 kB / 0.6234 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.006422, allocations: 67.48 kB / 0.6234 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.006541, allocations: 59.84 kB / 0.6235 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.006966, allocations: 275 kB / 0.6238 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.00706, allocations: 25.72 kB / 0.6238 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.007175, allocations: 99.72 kB / 0.6239 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.007283, allocations: 63.81 kB / 0.6239 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.007304, allocations: 8 kB / 0.6239 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.007378, allocations: 23.97 kB / 0.624 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.007437, allocations: 59.83 kB / 0.624 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.007489, allocations: 59.78 kB / 0.6241 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.007694, allocations: 195.2 kB / 0.6243 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.007696, allocations: 0 / 0.6243 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.007697, allocations: 0 / 0.6243 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007703, allocations: 0 / 0.6243 GB, free: 7.27 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.0005173/0.00822, allocations: 468.8 kB / 0.6247 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.008248, allocations: 8.031 kB / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.008274, allocations: 38.75 kB / 0.6248 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.00845, allocations: 60.75 kB / 0.6248 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.008721, allocations: 200.8 kB / 0.625 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.00873, allocations: 4.359 kB / 0.625 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.008744, allocations: 8.375 kB / 0.625 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.008961, allocations: 140.1 kB / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.008969, allocations: 192 / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.00898, allocations: 3.938 kB / 0.6252 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.009004, allocations: 12 kB / 0.6252 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.009228, allocations: 135.8 kB / 0.6253 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.009666, allocations: 403.7 kB / 0.6257 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.009894, allocations: 158.4 kB / 0.6258 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.01003, allocations: 92.78 kB / 0.6259 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01005, allocations: 8 kB / 0.6259 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.01007, allocations: 34.56 kB / 0.626 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.01007, allocations: 0 / 0.626 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004837/0.01055, allocations: 283.9 kB / 0.6262 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.01058, allocations: 55.34 kB / 0.6263 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.01075, allocations: 249.9 kB / 0.6265 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01077, allocations: 25.7 kB / 0.6266 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.01084, allocations: 148 kB / 0.6267 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.01088, allocations: 39.66 kB / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.01092, allocations: 33.89 kB / 0.6268 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.01102, allocations: 338.8 kB / 0.6271 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.01113, allocations: 71.94 kB / 0.6272 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.01124, allocations: 75.94 kB / 0.6272 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.01147, allocations: 152.7 kB / 0.6274 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01147, allocations: 0 / 0.6274 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002779/0.01175, allocations: 220.4 kB / 0.6276 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01176, allocations: 8 kB / 0.6276 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01176, allocations: 0 / 0.6276 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01177, allocations: 0 / 0.6276 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01189, allocations: 31.97 kB / 0.6276 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01189, allocations: 4 kB / 0.6276 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.01196, allocations: 19.88 kB / 0.6276 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01197, allocations: 11.98 kB / 0.6277 GB, free: 3.613 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.268e-05/0.01205, allocations: 134.8 kB / 0.6278 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.01208, allocations: 23.86 kB / 0.6278 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.01211, allocations: 33.77 kB / 0.6278 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01212, allocations: 3.984 kB / 0.6278 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01212, allocations: 0 / 0.6278 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.01212, allocations: 3.938 kB / 0.6278 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.0123, allocations: 232.6 kB / 0.6281 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.0123, allocations: 4 kB / 0.6281 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.01239, allocations: 31.97 kB / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01239, allocations: 4 kB / 0.6281 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.0124, allocations: 3.984 kB / 0.6281 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.0124, allocations: 0 / 0.6281 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0124, allocations: 0 / 0.6281 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.0127, allocations: 311.2 kB / 0.6284 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.01275, allocations: 47.67 kB / 0.6285 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01277, allocations: 0 / 0.6285 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.01284, allocations: 19.97 kB / 0.6285 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01289, allocations: 7.984 kB / 0.6285 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01289, allocations: 4 kB / 0.6285 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.671e-05/0.01299, allocations: 181.2 kB / 0.6287 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01299, allocations: 0 / 0.6287 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001782/0.01317, allocations: 40 kB / 0.6287 GB, free: 2.48 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.0005308/0.0137, allocations: 0.8527 MB / 0.6295 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.01398, allocations: 163.4 kB / 0.6297 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01398, allocations: 0 / 0.6297 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.0141, allocations: 83.88 kB / 0.6298 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01438, allocations: 48.41 kB / 0.6298 GB, free: 1.316 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.01635, allocations: 2.358 MB / 0.6321 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.01644, allocations: 132.1 kB / 0.6322 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000123/0.01656, allocations: 57.42 kB / 0.6323 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.01664, allocations: 64.47 kB / 0.6324 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.01664, allocations: 0 / 0.6324 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.03517, allocations: 5.492 MB / 0.6377 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.988, allocations: 6.75 kB / 0.6377 GB, free: 9.34 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.7302439622581] Failed to read output from testmodel.py, exit status != 0: 7.069854932837188 7.076874755 7.067540938 Calling exit ...