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.000832/0.000832, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008453/0.0008453, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.884/0.884, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6906/0.6906, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.224e-06/2.224e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.068e-05, allocations: 4.797 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002742/0.002773, allocations: 1.84 MB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.006392, allocations: 3.398 MB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.006484, allocations: 4 kB / 0.6232 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.007205, allocations: 165.8 kB / 0.6234 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.007387, allocations: 87.39 kB / 0.6235 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.341e-05/0.00748, allocations: 47.92 kB / 0.6235 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.007868, allocations: 267 kB / 0.6238 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.007964, allocations: 25.78 kB / 0.6238 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.008076, allocations: 103.7 kB / 0.6239 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.008182, allocations: 63.86 kB / 0.6239 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.008201, allocations: 11.94 kB / 0.624 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.891e-05/0.00827, allocations: 27.92 kB / 0.624 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.008329, allocations: 51.84 kB / 0.624 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.008378, allocations: 59.83 kB / 0.6241 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.00858, allocations: 187.3 kB / 0.6243 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008583, allocations: 0 / 0.6243 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.008584, allocations: 0 / 0.6243 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.008589, allocations: 0 / 0.6243 GB, free: 7.277 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.0006321/0.009221, allocations: 472.8 kB / 0.6247 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.009265, allocations: 12.03 kB / 0.6247 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.009304, allocations: 42.67 kB / 0.6248 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.00952, allocations: 56.75 kB / 0.6248 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.009804, allocations: 204.8 kB / 0.625 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.009816, allocations: 8.375 kB / 0.625 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.009829, allocations: 384 / 0.625 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.01007, allocations: 134.1 kB / 0.6252 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.01007, allocations: 4.125 kB / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.01009, allocations: 7.938 kB / 0.6252 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.01011, allocations: 8 kB / 0.6252 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.01034, allocations: 143.8 kB / 0.6253 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.0108, allocations: 403.7 kB / 0.6257 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.01104, allocations: 158.4 kB / 0.6258 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.01118, allocations: 100.7 kB / 0.6259 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.0112, allocations: 0 / 0.6259 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.01121, allocations: 30.56 kB / 0.626 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.01121, allocations: 4 kB / 0.626 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0004705/0.01168, allocations: 273.4 kB / 0.6262 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.01172, allocations: 63.39 kB / 0.6263 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.01187, allocations: 241.9 kB / 0.6265 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01189, allocations: 29.64 kB / 0.6266 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.01197, allocations: 144.1 kB / 0.6267 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.012, allocations: 47.62 kB / 0.6267 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.01204, allocations: 29.95 kB / 0.6268 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01214, allocations: 342.8 kB / 0.6271 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01227, allocations: 67.94 kB / 0.6272 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01238, allocations: 71.94 kB / 0.6272 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.01261, allocations: 163.6 kB / 0.6274 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01262, allocations: 0 / 0.6274 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004166/0.01303, allocations: 205.4 kB / 0.6276 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01304, allocations: 8 kB / 0.6276 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01305, allocations: 4 kB / 0.6276 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01306, allocations: 3.984 kB / 0.6276 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01319, allocations: 35.91 kB / 0.6276 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01319, allocations: 0 / 0.6276 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.01326, allocations: 23.88 kB / 0.6276 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01327, allocations: 7.984 kB / 0.6277 GB, free: 3.609 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.717e-05/0.01336, allocations: 142.8 kB / 0.6278 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01338, allocations: 23.86 kB / 0.6278 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.01342, allocations: 29.77 kB / 0.6278 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01342, allocations: 4 kB / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.01343, allocations: 0 / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01343, allocations: 0 / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01361, allocations: 228.6 kB / 0.6281 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01361, allocations: 0 / 0.6281 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.66e-05/0.0137, allocations: 35.91 kB / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.0137, allocations: 0 / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01371, allocations: 0 / 0.6281 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01371, allocations: 11.98 kB / 0.6281 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01371, allocations: 0 / 0.6281 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01403, allocations: 310.6 kB / 0.6284 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.01408, allocations: 39.73 kB / 0.6284 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.0141, allocations: 0 / 0.6284 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.01418, allocations: 19.98 kB / 0.6285 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.01423, allocations: 15.91 kB / 0.6285 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01424, allocations: 11.94 kB / 0.6285 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001016/0.01434, allocations: 177.2 kB / 0.6287 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01434, allocations: 0 / 0.6287 GB, free: 2.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001747/0.01451, allocations: 36 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.0005612/0.01507, allocations: 0.8528 MB / 0.6295 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.01537, allocations: 163.8 kB / 0.6297 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01537, allocations: 0 / 0.6297 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.01549, allocations: 91.88 kB / 0.6298 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.01578, allocations: 38.36 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.001971/0.01775, 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 9.245e-05/0.01784, allocations: 136 kB / 0.6322 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.01794, allocations: 57.44 kB / 0.6323 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.01802, allocations: 60.47 kB / 0.6324 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.01802, allocations: 0 / 0.6324 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.0368, allocations: 5.488 MB / 0.6377 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.114, allocations: 8.922 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.869146859273314] Failed to read output from testmodel.py, exit status != 0: 7.194835929200053 7.204167641 7.193936117 Calling exit ...