Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0007593/0.0007593, 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.0008034/0.0008034, 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.8809/0.8809, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.7298/0.7298, allocations: 154.6 MB / 413.8 MB, free: 0.7461 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.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.311e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005475/0.005498, allocations: 4.391 MB / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.006195, allocations: 0.7555 MB / 0.6232 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.00625, allocations: 0 / 0.6232 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.006405, allocations: 31.72 kB / 0.6232 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.006446, allocations: 35.64 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.006901, allocations: 175.3 kB / 0.6234 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.007042, allocations: 183.3 kB / 0.6236 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.007123, allocations: 17.28 kB / 0.6236 GB, free: 8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.007283, allocations: 115.7 kB / 0.6237 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.007349, allocations: 63.84 kB / 0.6237 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.007368, allocations: 12 kB / 0.6238 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.007571, allocations: 135.8 kB / 0.6239 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.007593, allocations: 31.89 kB / 0.6239 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.007637, allocations: 43.91 kB / 0.624 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.00789, allocations: 267.2 kB / 0.6242 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007894, allocations: 3.938 kB / 0.6242 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.007896, allocations: 0 / 0.6242 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.0079, allocations: 0 / 0.6242 GB, free: 7.34 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000583/0.008483, allocations: 401.4 kB / 0.6246 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.008527, allocations: 15.97 kB / 0.6246 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.008563, allocations: 46.73 kB / 0.6247 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.008607, allocations: 16.84 kB / 0.6247 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.193e-05/0.008699, allocations: 117.7 kB / 0.6248 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.008714, allocations: 8.375 kB / 0.6248 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.008729, allocations: 8.375 kB / 0.6248 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.00895, allocations: 132 kB / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.008959, allocations: 192 / 0.6249 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.008971, allocations: 3.938 kB / 0.6249 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.008976, allocations: 4 kB / 0.6249 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.009196, allocations: 139.9 kB / 0.6251 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.009838, allocations: 407.7 kB / 0.6255 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.01002, allocations: 122.5 kB / 0.6256 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.01011, allocations: 68.75 kB / 0.6256 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.0107, allocations: 480 kB / 0.6261 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.01073, allocations: 30.56 kB / 0.6261 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.01073, allocations: 4 kB / 0.6261 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003763/0.0111, allocations: 205.5 kB / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01113, allocations: 59.34 kB / 0.6264 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.01123, allocations: 164.6 kB / 0.6265 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.01125, allocations: 41.58 kB / 0.6266 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.0113, allocations: 108.5 kB / 0.6267 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.01132, allocations: 43.64 kB / 0.6267 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01138, allocations: 49.7 kB / 0.6268 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.01146, allocations: 322.8 kB / 0.6271 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.01159, allocations: 79.88 kB / 0.6272 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.01173, allocations: 107.4 kB / 0.6273 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01196, allocations: 178.8 kB / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01196, allocations: 0 / 0.6274 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003066/0.01227, allocations: 237.5 kB / 0.6277 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01228, allocations: 8 kB / 0.6277 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01229, allocations: 3.984 kB / 0.6277 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.0123, allocations: 3.938 kB / 0.6277 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01244, allocations: 59.91 kB / 0.6277 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01244, allocations: 3.938 kB / 0.6277 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.01252, allocations: 27.83 kB / 0.6278 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01254, allocations: 15.98 kB / 0.6278 GB, free: 3.461 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 7.379e-05/0.01262, allocations: 130.8 kB / 0.6279 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.01264, allocations: 7.953 kB / 0.6279 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.0129, allocations: 171 kB / 0.6281 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.0129, allocations: 4 kB / 0.6281 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01291, allocations: 3.938 kB / 0.6281 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01291, allocations: 0 / 0.6281 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01304, allocations: 180.7 kB / 0.6283 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01304, allocations: 4 kB / 0.6283 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.0131, allocations: 27.92 kB / 0.6283 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01311, allocations: 3.984 kB / 0.6283 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01312, allocations: 4 kB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01312, allocations: 3.938 kB / 0.6283 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01312, allocations: 3.938 kB / 0.6283 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01335, allocations: 254.9 kB / 0.6285 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.01338, allocations: 31.88 kB / 0.6286 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.0134, allocations: 0 / 0.6286 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.01346, allocations: 11.98 kB / 0.6286 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.0135, allocations: 19.91 kB / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.01351, allocations: 0 / 0.6286 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.01357, allocations: 123.9 kB / 0.6287 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01357, allocations: 3.938 kB / 0.6287 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002139/0.01379, allocations: 55.88 kB / 0.6288 GB, free: 2.363 MB / 0.5886 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 (12): * Single equations (assignments): 12 * 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.0005967/0.01438, allocations: 0.841 MB / 0.6296 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.01468, allocations: 171.6 kB / 0.6298 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01468, allocations: 0 / 0.6298 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.234e-05/0.01477, allocations: 59.95 kB / 0.6298 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01505, allocations: 28.11 kB / 0.6298 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.0167, allocations: 1.958 MB / 0.6318 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.01689, allocations: 89.81 kB / 0.6318 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.954e-05/0.01696, allocations: 27.95 kB / 0.6319 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.01702, allocations: 36.48 kB / 0.6319 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.01702, allocations: 0 / 0.6319 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.03327, allocations: 5.08 MB / 0.6369 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/6.822, allocations: 9.656 kB / 0.6369 GB, free: 10.13 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45574402809143] Failed to read output from testmodel.py, exit status != 0: 6.901169282384217 6.9110301210000005 6.901405328 Calling exit ...