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.0007392/0.0007392, 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.0007812/0.0007812, allocations: 170.3 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.8945/0.8945, allocations: 177.2 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.7091/0.7091, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.903e-06/1.903e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.106e-05, allocations: 4.531 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002932/0.002953, allocations: 1.83 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.006631, allocations: 3.398 MB / 0.6232 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.006728, allocations: 0 / 0.6232 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.007452, allocations: 175.1 kB / 0.6233 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.007629, allocations: 75.41 kB / 0.6234 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.806e-05/0.007727, allocations: 47.92 kB / 0.6234 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004275/0.008155, allocations: 279 kB / 0.6237 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.008251, allocations: 21.78 kB / 0.6237 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.008372, allocations: 95.72 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.008493, allocations: 63.86 kB / 0.6239 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.008514, allocations: 8 kB / 0.6239 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.407e-05/0.008598, allocations: 35.8 kB / 0.6239 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.008668, allocations: 59.83 kB / 0.624 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.008731, allocations: 51.84 kB / 0.624 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.008978, allocations: 191.3 kB / 0.6242 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00898, allocations: 0 / 0.6242 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.113e-06/0.008981, allocations: 0 / 0.6242 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.008985, allocations: 0 / 0.6242 GB, free: 7.387 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.0007227/0.009708, allocations: 472.8 kB / 0.6247 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.009748, allocations: 9.469 kB / 0.6247 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.009783, allocations: 42.75 kB / 0.6247 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.01021, allocations: 116.6 kB / 0.6248 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.0105, allocations: 208.7 kB / 0.625 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.01051, allocations: 12.36 kB / 0.625 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.01052, allocations: 4.375 kB / 0.625 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.0109, allocations: 150.1 kB / 0.6252 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.01091, allocations: 192 / 0.6252 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.01092, allocations: 3.938 kB / 0.6252 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.01094, allocations: 11.98 kB / 0.6252 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.01119, allocations: 155.7 kB / 0.6253 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.01164, allocations: 415.7 kB / 0.6257 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.01188, allocations: 166.5 kB / 0.6259 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.01203, allocations: 108.7 kB / 0.626 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.01204, allocations: 4 kB / 0.626 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.01206, allocations: 34.55 kB / 0.626 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.01206, allocations: 0 / 0.626 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.000537/0.0126, allocations: 313.1 kB / 0.6263 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.01263, allocations: 51.41 kB / 0.6264 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.01278, allocations: 245.9 kB / 0.6266 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.0128, allocations: 29.7 kB / 0.6266 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.01286, allocations: 136.1 kB / 0.6268 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.0129, allocations: 47.64 kB / 0.6268 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.01294, allocations: 29.7 kB / 0.6268 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.01303, allocations: 338.8 kB / 0.6272 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.01315, allocations: 87.8 kB / 0.6273 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01327, allocations: 79.94 kB / 0.6273 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.01352, allocations: 168.7 kB / 0.6275 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01352, allocations: 0 / 0.6275 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002998/0.01382, allocations: 225.4 kB / 0.6277 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01384, allocations: 9.859 kB / 0.6277 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.01384, allocations: 0 / 0.6277 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.01385, allocations: 8 kB / 0.6277 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01399, allocations: 35.91 kB / 0.6278 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.01399, allocations: 0 / 0.6278 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.01407, allocations: 23.88 kB / 0.6278 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01409, allocations: 7.984 kB / 0.6278 GB, free: 3.527 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.328e-05/0.01417, allocations: 138.8 kB / 0.6279 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.01419, allocations: 23.86 kB / 0.6279 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.01423, allocations: 29.77 kB / 0.628 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01423, allocations: 4 kB / 0.628 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.01424, allocations: 8 kB / 0.628 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01424, allocations: 0 / 0.628 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01441, allocations: 224.6 kB / 0.6282 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.01441, allocations: 0 / 0.6282 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01452, allocations: 43.89 kB / 0.6282 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.01452, allocations: 0 / 0.6282 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01453, allocations: 4 kB / 0.6282 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01453, allocations: 4 kB / 0.6282 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01453, allocations: 4 kB / 0.6283 GB, free: 3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01486, allocations: 322.7 kB / 0.6286 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.01491, allocations: 43.72 kB / 0.6286 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01493, allocations: 8 kB / 0.6286 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.01502, allocations: 11.98 kB / 0.6286 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01506, allocations: 15.98 kB / 0.6286 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01507, allocations: 7.922 kB / 0.6286 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.371e-05/0.01516, allocations: 177.2 kB / 0.6288 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01516, allocations: 4 kB / 0.6288 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001661/0.01533, allocations: 39.94 kB / 0.6289 GB, free: 2.371 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.0004982/0.01583, allocations: 0.8645 MB / 0.6297 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01612, allocations: 183.8 kB / 0.6299 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.01612, allocations: 0 / 0.6299 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01625, allocations: 99.86 kB / 0.63 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01653, allocations: 42.86 kB / 0.63 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.01859, allocations: 2.4 MB / 0.6324 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.01867, allocations: 132.1 kB / 0.6325 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.0188, allocations: 61.44 kB / 0.6325 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.01888, allocations: 64.47 kB / 0.6326 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.01888, allocations: 0 / 0.6326 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.03687, allocations: 5.615 MB / 0.6381 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.257/7.293, allocations: 14.84 kB / 0.6381 GB, free: 9.027 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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: 10.123180629685521] Failed to read output from testmodel.py, exit status != 0: 7.37916199862957 7.389831334 7.3790671979999996 Calling exit ...