Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.0008068/0.0008068, 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.0008988/0.0008988, 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.9021/0.9021, 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 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.7132/0.7132, allocations: 154.5 MB / 413.7 MB, free: 0.8516 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.136e-05, allocations: 9.609 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003869/0.00389, allocations: 2.202 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.007751, allocations: 4.563 MB / 0.6247 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.007864, allocations: 3.938 kB / 0.6247 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.008623, allocations: 239.3 kB / 0.6249 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.008845, allocations: 151 kB / 0.625 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.008953, allocations: 67.83 kB / 0.6251 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.009402, allocations: 418.3 kB / 0.6255 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.009558, allocations: 62.05 kB / 0.6256 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.009749, allocations: 203.4 kB / 0.6258 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.009887, allocations: 119.7 kB / 0.6259 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.009914, allocations: 16 kB / 0.6259 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.009992, allocations: 39.92 kB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.01006, allocations: 99.61 kB / 0.626 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.01014, allocations: 95.69 kB / 0.6261 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.01044, allocations: 330.8 kB / 0.6264 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01044, allocations: 0 / 0.6264 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01044, allocations: 0 / 0.6264 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.01045, allocations: 0 / 0.6264 GB, free: 5.129 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008391/0.01129, allocations: 0.6208 MB / 0.627 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.01133, allocations: 13.47 kB / 0.627 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.01142, allocations: 62.67 kB / 0.6271 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006893/0.01211, allocations: 211.4 kB / 0.6273 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.01256, allocations: 291.2 kB / 0.6276 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.01257, allocations: 15.86 kB / 0.6276 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.0126, allocations: 15.98 kB / 0.6276 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.01304, allocations: 320.4 kB / 0.6279 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.01305, allocations: 4 kB / 0.6279 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.01307, allocations: 7.938 kB / 0.6279 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.0131, allocations: 24.48 kB / 0.628 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.01361, allocations: 337.7 kB / 0.6283 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01464, allocations: 0.7319 MB / 0.629 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.01512, allocations: 314.3 kB / 0.6293 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.01539, allocations: 184.7 kB / 0.6295 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.01541, allocations: 4 kB / 0.6295 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01543, allocations: 42.48 kB / 0.6295 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.01543, allocations: 0 / 0.6295 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0008329/0.01627, allocations: 0.5239 MB / 0.63 GB, free: 1.312 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.0163, allocations: 59.27 kB / 0.6301 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.01651, allocations: 321.7 kB / 0.6304 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01654, allocations: 29.7 kB / 0.6304 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.01663, allocations: 192.4 kB / 0.6306 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.01668, allocations: 83.33 kB / 0.6307 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.035e-05/0.01675, allocations: 49.69 kB / 0.6307 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.01684, allocations: 346.8 kB / 0.6311 GB, free: 216 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.01707, allocations: 147.9 kB / 0.6312 GB, free: 68 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.01733, allocations: 189.8 kB / 0.6314 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.01784, allocations: 329.8 kB / 0.6317 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01784, allocations: 0 / 0.6317 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005777/0.01842, allocations: 405 kB / 0.6321 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01843, allocations: 8 kB / 0.6321 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01844, allocations: 0 / 0.6321 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.01845, allocations: 0 / 0.6321 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.01869, allocations: 67.88 kB / 0.6321 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01869, allocations: 0 / 0.6321 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.01884, allocations: 35.81 kB / 0.6322 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.01886, allocations: 16.05 kB / 0.6322 GB, free: 15.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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.0001408/0.019, allocations: 162.7 kB / 0.6324 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.01904, allocations: 39.73 kB / 0.6324 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.0191, allocations: 47.42 kB / 0.6324 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.0191, allocations: 4 kB / 0.6324 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.01911, allocations: 3.938 kB / 0.6324 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01911, allocations: 0 / 0.6324 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02017, allocations: 0.8487 MB / 0.6333 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02017, allocations: 0 / 0.6333 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.02036, allocations: 59.94 kB / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.02037, allocations: 7.938 kB / 0.6333 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.02039, allocations: 11.94 kB / 0.6333 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02039, allocations: 0 / 0.6333 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02039, allocations: 0 / 0.6333 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.02098, allocations: 0.4912 MB / 0.6338 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.02107, allocations: 71.66 kB / 0.6339 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.0211, allocations: 4 kB / 0.6339 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.02126, allocations: 23.97 kB / 0.6339 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.02132, allocations: 11.97 kB / 0.6339 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.02134, allocations: 15.98 kB / 0.6339 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001625/0.0215, allocations: 227.2 kB / 0.6342 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.0215, allocations: 0 / 0.6342 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002303/0.02173, allocations: 83.83 kB / 0.6342 GB, free: 12.85 MB / 0.6042 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 (23): * Single equations (assignments): 23 * 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.001147/0.02288, allocations: 1.247 MB / 0.6355 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.02345, allocations: 339.2 kB / 0.6358 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02345, allocations: 0 / 0.6358 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.02371, allocations: 175.7 kB / 0.636 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.02411, allocations: 92.36 kB / 0.636 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.02752, allocations: 3.508 MB / 0.6395 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.02764, allocations: 187.8 kB / 0.6396 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.02791, allocations: 126.2 kB / 0.6398 GB, free: 7.051 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.02808, allocations: 116.4 kB / 0.6399 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.02808, allocations: 0 / 0.6399 GB, free: 6.938 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.05576, allocations: 9.182 MB / 0.6488 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.1, allocations: 2.75 kB / 0.6488 GB, free: 14.03 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.899382482282817] Failed to read output from testmodel.py, exit status != 0: 7.188985069282353 7.196875533 7.18462903 Calling exit ...