Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001066/0.001066, 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.001493/0.001493, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.697/0.697, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.161e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002364/0.002385, allocations: 2.035 MB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003629, allocations: 1.017 MB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.003726, allocations: 7.938 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.003772, allocations: 27.66 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.004031, allocations: 91.16 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.004363, allocations: 191.5 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.004604, allocations: 310.5 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.004997, allocations: 44.91 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.005162, allocations: 147.7 kB / 0.6219 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.005322, allocations: 107.7 kB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.005351, allocations: 23.94 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.005633, allocations: 279.6 kB / 0.6223 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.005668, allocations: 47.83 kB / 0.6223 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.005726, allocations: 79.75 kB / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.006048, allocations: 366.7 kB / 0.6227 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006051, allocations: 4 kB / 0.6228 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006052, allocations: 4 kB / 0.6228 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.006057, allocations: 0 / 0.6228 GB, free: 8.871 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006748/0.006731, allocations: 0.5554 MB / 0.6233 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.00677, allocations: 12.03 kB / 0.6233 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.006809, allocations: 46.73 kB / 0.6234 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.00694, allocations: 40.73 kB / 0.6234 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.007252, allocations: 220.7 kB / 0.6236 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.007266, allocations: 16.66 kB / 0.6236 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.007284, allocations: 12.38 kB / 0.6236 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.007618, allocations: 233.2 kB / 0.6239 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.007628, allocations: 192 / 0.6239 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.007644, allocations: 12.11 kB / 0.6239 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.007651, allocations: 4 kB / 0.6239 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.008003, allocations: 199.8 kB / 0.6241 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.008716, allocations: 0.8712 MB / 0.6249 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.009148, allocations: 233.3 kB / 0.6251 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.009315, allocations: 101.6 kB / 0.6252 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.009336, allocations: 4 kB / 0.6252 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.009353, allocations: 34.56 kB / 0.6253 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.009354, allocations: 0 / 0.6253 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0007602/0.01011, allocations: 337.3 kB / 0.6256 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.01015, allocations: 81.09 kB / 0.6257 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.01033, allocations: 268.2 kB / 0.6259 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.01034, allocations: 29.7 kB / 0.6259 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.01042, allocations: 164.3 kB / 0.6261 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.01045, allocations: 55.42 kB / 0.6262 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.0105, allocations: 49.7 kB / 0.6262 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.01059, allocations: 330.8 kB / 0.6265 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.01076, allocations: 95.91 kB / 0.6266 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01094, allocations: 141.1 kB / 0.6267 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.01129, allocations: 237.8 kB / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0113, allocations: 0 / 0.627 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004325/0.01173, allocations: 301.8 kB / 0.6273 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01174, allocations: 11.94 kB / 0.6273 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01175, allocations: 0 / 0.6273 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01176, allocations: 4 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.0119, allocations: 63.88 kB / 0.6273 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.01191, allocations: 80 / 0.6273 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01202, allocations: 39.86 kB / 0.6274 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01203, allocations: 16.09 kB / 0.6274 GB, free: 3.844 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (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 prepare postOptimizeDAE: time 8.669e-05/0.01212, allocations: 138.7 kB / 0.6275 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.01217, allocations: 27.81 kB / 0.6276 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.01262, allocations: 303.3 kB / 0.6278 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01262, allocations: 0 / 0.6278 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01262, allocations: 4 kB / 0.6278 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01263, allocations: 0 / 0.6278 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.01285, allocations: 236.5 kB / 0.6281 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01285, allocations: 0 / 0.6281 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01298, allocations: 51.95 kB / 0.6281 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01298, allocations: 4 kB / 0.6281 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01299, allocations: 11.94 kB / 0.6281 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01299, allocations: 7.922 kB / 0.6281 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01299, allocations: 0 / 0.6281 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.01344, allocations: 436.5 kB / 0.6286 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.01347, allocations: 23.86 kB / 0.6286 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01349, allocations: 11.92 kB / 0.6286 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01362, allocations: 27.97 kB / 0.6286 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.01367, allocations: 15.97 kB / 0.6286 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.01368, allocations: 4 kB / 0.6286 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001244/0.0138, allocations: 199 kB / 0.6288 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 0.6288 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002449/0.01405, allocations: 59.83 kB / 0.6289 GB, free: 2.242 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0006721/0.01472, allocations: 0.9847 MB / 0.6298 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.01513, allocations: 228.8 kB / 0.6301 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01513, allocations: 0 / 0.6301 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.01531, allocations: 116.6 kB / 0.6302 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.01566, allocations: 69.05 kB / 0.6302 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.01809, allocations: 2.722 MB / 0.6329 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.01817, allocations: 138.9 kB / 0.633 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.01827, allocations: 38.28 kB / 0.6331 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.01837, allocations: 84.47 kB / 0.6331 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.01837, allocations: 0 / 0.6331 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03706, allocations: 7.659 MB / 0.6406 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.287, allocations: 10.72 kB / 0.6406 GB, free: 6.293 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.042474702000618] Failed to read output from testmodel.py, exit status != 0: 7.369768479838967 7.384686772 7.376085453 Calling exit ...