Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008894/0.0008894, 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.001244/0.001244, 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.8504/0.8504, 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 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.6984/0.6984, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.09e-05, allocations: 7.688 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00225/0.002271, allocations: 2.006 MB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003659/0.005929, allocations: 3.892 MB / 0.6239 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.006035, allocations: 3.938 kB / 0.6239 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.006762, allocations: 183 kB / 0.624 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.006867, allocations: 75.34 kB / 0.6241 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.007348, allocations: 303.1 kB / 0.6244 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004553/0.007803, allocations: 406.7 kB / 0.6248 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.007912, allocations: 40.44 kB / 0.6248 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.008061, allocations: 151.7 kB / 0.625 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.008176, allocations: 111.7 kB / 0.6251 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.008201, allocations: 16 kB / 0.6251 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.008528, allocations: 311.4 kB / 0.6254 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.008619, allocations: 103.7 kB / 0.6255 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.008695, allocations: 91.75 kB / 0.6256 GB, free: 6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.009163, allocations: 0.5764 MB / 0.6261 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009165, allocations: 0 / 0.6261 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009167, allocations: 0 / 0.6261 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.009172, allocations: 0 / 0.6261 GB, free: 5.422 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008327/0.01, allocations: 0.6924 MB / 0.6268 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.01004, allocations: 12.03 kB / 0.6268 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.01007, allocations: 38.73 kB / 0.6269 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.0103, allocations: 88.61 kB / 0.6269 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.01066, allocations: 295.8 kB / 0.6272 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.01067, allocations: 4.375 kB / 0.6272 GB, free: 4.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.01069, allocations: 8.375 kB / 0.6272 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.01098, allocations: 198.1 kB / 0.6274 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01099, allocations: 4.172 kB / 0.6274 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.011, allocations: 7.875 kB / 0.6274 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.01101, allocations: 4 kB / 0.6274 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.01138, allocations: 247.7 kB / 0.6277 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.01226, allocations: 0.5229 MB / 0.6282 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.01251, allocations: 178.3 kB / 0.6284 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.0127, allocations: 128.8 kB / 0.6285 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.01274, allocations: 16 kB / 0.6285 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.01276, allocations: 38.55 kB / 0.6285 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.01277, allocations: 0 / 0.6285 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0006913/0.01346, allocations: 441.5 kB / 0.629 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.01349, allocations: 51.41 kB / 0.629 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.01379, allocations: 429.8 kB / 0.6294 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.01381, allocations: 25.7 kB / 0.6294 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.01391, allocations: 184 kB / 0.6296 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.01394, allocations: 39.66 kB / 0.6297 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.01399, allocations: 41.69 kB / 0.6297 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.01409, allocations: 354.7 kB / 0.63 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.01434, allocations: 205.6 kB / 0.6302 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.01456, allocations: 213.6 kB / 0.6304 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.01498, allocations: 357.5 kB / 0.6308 GB, free: 476 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01499, allocations: 0 / 0.6308 GB, free: 476 kB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005273/0.01551, allocations: 0.5045 MB / 0.6313 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.01555, allocations: 49.62 kB / 0.6313 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01555, allocations: 0 / 0.6313 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01556, allocations: 11.94 kB / 0.6313 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01572, allocations: 43.94 kB / 0.6314 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01572, allocations: 0 / 0.6314 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.01583, allocations: 39.86 kB / 0.6314 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01584, allocations: 4 kB / 0.6314 GB, free: 15.79 MB / 0.6042 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001042/0.01594, allocations: 162.7 kB / 0.6316 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.01598, allocations: 39.75 kB / 0.6316 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.01645, allocations: 347.2 kB / 0.6319 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01646, allocations: 4 kB / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01646, allocations: 3.984 kB / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01647, allocations: 0 / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.01669, allocations: 296.4 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01669, allocations: 0 / 0.6322 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.0168, allocations: 39.95 kB / 0.6323 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0168, allocations: 4 kB / 0.6323 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01682, allocations: 3.984 kB / 0.6323 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01682, allocations: 0 / 0.6323 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01682, allocations: 4 kB / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.01728, allocations: 423 kB / 0.6327 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.01736, allocations: 55.67 kB / 0.6327 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01738, allocations: 8 kB / 0.6327 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01749, allocations: 19.97 kB / 0.6328 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.01755, allocations: 19.91 kB / 0.6328 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01756, allocations: 11.98 kB / 0.6328 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002071/0.01777, allocations: 291.1 kB / 0.6331 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01777, allocations: 3.938 kB / 0.6331 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002937/0.01806, allocations: 123.8 kB / 0.6332 GB, free: 13.9 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 (11): * Single equations (assignments): 11 * 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.0008283/0.01889, allocations: 1.032 MB / 0.6342 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.01943, allocations: 468.4 kB / 0.6346 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01943, allocations: 0 / 0.6346 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.01963, allocations: 139.8 kB / 0.6348 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.02021, allocations: 59.48 kB / 0.6348 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.02379, allocations: 4.379 MB / 0.6391 GB, free: 7.676 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.0239, allocations: 187.2 kB / 0.6393 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.02401, allocations: 45.91 kB / 0.6393 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.02412, allocations: 108.5 kB / 0.6394 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.02412, allocations: 0 / 0.6394 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.04538, allocations: 9.475 MB / 0.6487 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.413/7.458, allocations: 9.578 kB / 0.6487 GB, free: 14.08 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.131253141909838] Failed to read output from testmodel.py, exit status != 0: 7.540018665604293 7.548388447 7.537625033 Calling exit ...