Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0007737/0.0007737, 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.0008255/0.0008255, 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.8927/0.8927, 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.7237/0.7237, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.557e-05, allocations: 7.5 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002377/0.002392, allocations: 2.093 MB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.005927, allocations: 3.915 MB / 0.6239 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.006026, allocations: 7.938 kB / 0.6239 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.006711, allocations: 179 kB / 0.6241 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.006836, allocations: 79.28 kB / 0.6242 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.007429, allocations: 343 kB / 0.6245 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.007971, allocations: 466.5 kB / 0.6249 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.008081, allocations: 44.83 kB / 0.625 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.008255, allocations: 183.6 kB / 0.6252 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.008395, allocations: 131.6 kB / 0.6253 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.008423, allocations: 23.94 kB / 0.6253 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.008803, allocations: 323.4 kB / 0.6256 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.0089, allocations: 123.6 kB / 0.6257 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.008986, allocations: 107.7 kB / 0.6258 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.009512, allocations: 0.6386 MB / 0.6265 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.009514, allocations: 4 kB / 0.6265 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/0.009516, allocations: 4 kB / 0.6265 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5e-06/0.009521, allocations: 0 / 0.6265 GB, free: 5.035 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008854/0.01041, allocations: 0.7353 MB / 0.6272 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.01045, allocations: 9.469 kB / 0.6272 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.01049, allocations: 42.73 kB / 0.6272 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.01141, allocations: 320.2 kB / 0.6275 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.01194, allocations: 351.9 kB / 0.6279 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.01195, allocations: 8.562 kB / 0.6279 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.01198, allocations: 16.31 kB / 0.6279 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.01239, allocations: 265.5 kB / 0.6282 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.0124, allocations: 4 kB / 0.6282 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.01241, allocations: 4 kB / 0.6282 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01242, allocations: 0 / 0.6282 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.01306, allocations: 343.7 kB / 0.6285 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.01395, allocations: 0.6283 MB / 0.6291 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.01429, allocations: 218.4 kB / 0.6293 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.01458, allocations: 184.2 kB / 0.6295 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.01463, allocations: 19.98 kB / 0.6295 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01465, allocations: 38.5 kB / 0.6295 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01465, allocations: 0 / 0.6295 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001007/0.01566, allocations: 0.591 MB / 0.6301 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01569, allocations: 51.41 kB / 0.6302 GB, free: 1.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.01599, allocations: 445.9 kB / 0.6306 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.01602, allocations: 33.7 kB / 0.6306 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.01612, allocations: 200.4 kB / 0.6308 GB, free: 420 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.01615, allocations: 39.64 kB / 0.6309 GB, free: 380 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.01622, allocations: 53.62 kB / 0.6309 GB, free: 320 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.01633, allocations: 358.7 kB / 0.6313 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.0167, allocations: 341.7 kB / 0.6316 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.01707, allocations: 346 kB / 0.6319 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.01774, allocations: 0.5398 MB / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01774, allocations: 0 / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008505/0.01859, allocations: 0.7752 MB / 0.6332 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.01863, allocations: 47.88 kB / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01864, allocations: 4 kB / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01866, allocations: 4 kB / 0.6332 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.01889, allocations: 71.84 kB / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.0189, allocations: 0 / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.01907, allocations: 55.73 kB / 0.6334 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.01909, allocations: 15.98 kB / 0.6334 GB, free: 13.73 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 (18): * Single equations (assignments): 17 * 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.0001341/0.01923, allocations: 166.7 kB / 0.6335 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.01927, allocations: 35.77 kB / 0.6336 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.02, allocations: 472.7 kB / 0.634 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02001, allocations: 3.984 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.02001, allocations: 4 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.02002, allocations: 3.984 kB / 0.634 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.0203, allocations: 316.5 kB / 0.6343 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0203, allocations: 0 / 0.6343 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.02048, allocations: 59.92 kB / 0.6344 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02048, allocations: 3.984 kB / 0.6344 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.0205, allocations: 11.94 kB / 0.6344 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.02051, allocations: 4 kB / 0.6344 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02051, allocations: 0 / 0.6344 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.02119, allocations: 0.5184 MB / 0.6349 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.02129, allocations: 67.61 kB / 0.635 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.02132, allocations: 0 / 0.635 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.02149, allocations: 39.95 kB / 0.635 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.02156, allocations: 15.97 kB / 0.635 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.02157, allocations: 7.984 kB / 0.635 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002244/0.0218, allocations: 315 kB / 0.6353 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.0218, allocations: 0 / 0.6353 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004698/0.02227, allocations: 127.8 kB / 0.6355 GB, free: 11.52 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 (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.001107/0.02338, allocations: 1.145 MB / 0.6366 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008109/0.02419, allocations: 0.6335 MB / 0.6372 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02419, allocations: 0 / 0.6372 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.02448, allocations: 191.8 kB / 0.6374 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.0248, allocations: 64.66 kB / 0.6375 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.02952, allocations: 5.472 MB / 0.6428 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.02969, allocations: 199.4 kB / 0.643 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.02986, allocations: 65.91 kB / 0.643 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.03001, allocations: 116.5 kB / 0.6432 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.03001, allocations: 4 kB / 0.6432 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.05107, allocations: 10.45 MB / 0.6534 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.179, allocations: 0 / 0.6534 GB, free: 9.27 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.042864968068898] Failed to read output from testmodel.py, exit status != 0: 7.266333122737706 7.27780109 7.265540281 Calling exit ...