Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008035/0.0008035, 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.0007765/0.0007765, 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.8667/0.8667, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6945/0.6945, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.662e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002318/0.002335, allocations: 2.101 MB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.005951, allocations: 3.907 MB / 0.624 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.726e-05/0.006048, allocations: 4 kB / 0.624 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.006714, allocations: 185.6 kB / 0.6242 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.006822, allocations: 87.22 kB / 0.6242 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.007318, allocations: 339.1 kB / 0.6246 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000514/0.007832, allocations: 462.5 kB / 0.625 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.007956, allocations: 44.83 kB / 0.625 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.008137, allocations: 183.6 kB / 0.6252 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.008277, allocations: 131.6 kB / 0.6253 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.008308, allocations: 20 kB / 0.6254 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.008674, allocations: 331.4 kB / 0.6257 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.008782, allocations: 119.6 kB / 0.6258 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.74e-05/0.008879, allocations: 107.7 kB / 0.6259 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.009448, allocations: 0.6425 MB / 0.6265 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00945, allocations: 0 / 0.6265 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.62e-07/0.00945, allocations: 0 / 0.6265 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.009457, allocations: 0 / 0.6265 GB, free: 4.965 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.0009927/0.01045, allocations: 0.7392 MB / 0.6272 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.0105, allocations: 12.03 kB / 0.6273 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.01054, allocations: 38.75 kB / 0.6273 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.01123, allocations: 240.3 kB / 0.6275 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.01177, allocations: 348 kB / 0.6279 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.01179, allocations: 4.562 kB / 0.6279 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.01181, allocations: 20.3 kB / 0.6279 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.01228, allocations: 253.6 kB / 0.6281 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01229, allocations: 0 / 0.6281 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01231, allocations: 8 kB / 0.6281 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01231, allocations: 0 / 0.6281 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.01286, allocations: 335.6 kB / 0.6285 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.01373, allocations: 0.6165 MB / 0.6291 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.01408, allocations: 210.4 kB / 0.6293 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.01436, allocations: 172.7 kB / 0.6294 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.01441, allocations: 23.98 kB / 0.6294 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.01443, allocations: 30.56 kB / 0.6295 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.01443, allocations: 0 / 0.6295 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001028/0.01546, allocations: 0.5703 MB / 0.63 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.01549, allocations: 59.34 kB / 0.6301 GB, free: 1.168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.01582, allocations: 445.9 kB / 0.6305 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01584, allocations: 25.7 kB / 0.6305 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01595, allocations: 200.4 kB / 0.6307 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.01599, allocations: 43.64 kB / 0.6308 GB, free: 464 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.01606, allocations: 49.69 kB / 0.6308 GB, free: 408 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01617, allocations: 354.7 kB / 0.6312 GB, free: 44 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.01655, allocations: 337.7 kB / 0.6315 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.01691, allocations: 338 kB / 0.6318 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.01754, allocations: 0.5164 MB / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01754, allocations: 0 / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008226/0.01837, allocations: 0.7673 MB / 0.633 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.0184, allocations: 45.69 kB / 0.6331 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01841, allocations: 0 / 0.6331 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01842, allocations: 0 / 0.6331 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.01863, allocations: 67.92 kB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01864, allocations: 0 / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.0188, allocations: 63.72 kB / 0.6332 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.01882, allocations: 11.98 kB / 0.6332 GB, free: 13.87 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.0002241/0.01904, allocations: 166.7 kB / 0.6334 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.01908, allocations: 35.77 kB / 0.6334 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.01975, allocations: 440.8 kB / 0.6338 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01975, allocations: 0 / 0.6338 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01976, allocations: 0 / 0.6338 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.01976, allocations: 7.984 kB / 0.6339 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.02001, allocations: 312.5 kB / 0.6341 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.02002, allocations: 3.938 kB / 0.6342 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.02018, allocations: 59.86 kB / 0.6342 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02018, allocations: 0 / 0.6342 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.0202, allocations: 7.938 kB / 0.6342 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.0202, allocations: 3.984 kB / 0.6342 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0202, allocations: 0 / 0.6342 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.02083, allocations: 0.4989 MB / 0.6347 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.02091, allocations: 67.61 kB / 0.6348 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.02094, allocations: 0 / 0.6348 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.02109, allocations: 39.94 kB / 0.6348 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.02116, allocations: 19.97 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.02117, allocations: 0 / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002137/0.02138, allocations: 319.1 kB / 0.6351 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02138, allocations: 0 / 0.6351 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003017/0.02169, allocations: 127.8 kB / 0.6353 GB, free: 11.72 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.001027/0.02271, allocations: 1.133 MB / 0.6364 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007812/0.02349, allocations: 0.6237 MB / 0.637 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0235, allocations: 0 / 0.637 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.02378, allocations: 183.8 kB / 0.6371 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.02412, allocations: 71.25 kB / 0.6372 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.02926, allocations: 5.421 MB / 0.6425 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.0294, allocations: 199.4 kB / 0.6427 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.02956, allocations: 53.91 kB / 0.6428 GB, free: 3.867 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.02971, allocations: 120.5 kB / 0.6429 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.02971, allocations: 0 / 0.6429 GB, free: 3.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.05781, allocations: 10.3 MB / 0.6529 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.935/6.993, allocations: 6.562 kB / 0.6529 GB, free: 9.688 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.797381339594722] Failed to read output from testmodel.py, exit status != 0: 7.076173348352313 7.084479181 7.073480603 Calling exit ...