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.0007323/0.0007323, allocations: 80.44 kB / 19.17 MB, free: 0.7305 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.0007533/0.0007533, allocations: 165.2 kB / 22.46 MB, free: 2.098 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.8761/0.8761, 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 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.6847/0.6847, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.303e-06/1.303e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.443e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002146/0.002161, allocations: 2.029 MB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003348, allocations: 1.017 MB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.003438, allocations: 7.938 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.003482, allocations: 27.66 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.003731, allocations: 91.16 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.004077, allocations: 189.4 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.004333, allocations: 302.6 kB / 0.6217 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.004471, allocations: 44.84 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.004618, allocations: 151.7 kB / 0.6219 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.004785, allocations: 115.7 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.004813, allocations: 16 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.005124, allocations: 287.5 kB / 0.6223 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.00516, allocations: 47.83 kB / 0.6223 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.005221, allocations: 79.69 kB / 0.6224 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.005537, allocations: 370.7 kB / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005538, allocations: 0 / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005539, allocations: 0 / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.005544, allocations: 4 kB / 0.6228 GB, free: 8.859 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.0007061/0.00625, allocations: 0.5536 MB / 0.6233 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.006288, allocations: 12.03 kB / 0.6233 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.006326, allocations: 46.73 kB / 0.6233 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.006457, allocations: 44.73 kB / 0.6234 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.006726, allocations: 220.7 kB / 0.6236 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006742, allocations: 20.66 kB / 0.6236 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.006759, allocations: 12.38 kB / 0.6236 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.007077, allocations: 233.2 kB / 0.6239 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.007085, allocations: 4.188 kB / 0.6239 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.007099, allocations: 8.125 kB / 0.6239 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.007105, allocations: 4 kB / 0.6239 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.007455, allocations: 203.7 kB / 0.6241 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.008204, allocations: 0.8595 MB / 0.6249 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.008688, allocations: 241.2 kB / 0.6251 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.008867, allocations: 97.64 kB / 0.6252 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.008898, allocations: 8 kB / 0.6252 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.008926, allocations: 38.48 kB / 0.6253 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.008928, allocations: 0 / 0.6253 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.0006747/0.009603, allocations: 337.5 kB / 0.6256 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.00964, allocations: 85.11 kB / 0.6257 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.00982, allocations: 268.2 kB / 0.6259 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.009836, allocations: 29.7 kB / 0.626 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.009917, allocations: 156.4 kB / 0.6261 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.009946, allocations: 59.47 kB / 0.6262 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.009998, allocations: 45.64 kB / 0.6262 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.01008, allocations: 334.8 kB / 0.6265 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01024, allocations: 95.91 kB / 0.6266 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01043, allocations: 141.2 kB / 0.6268 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.01077, allocations: 241.7 kB / 0.627 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01077, allocations: 0 / 0.627 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004363/0.01121, allocations: 293.1 kB / 0.6273 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.01123, allocations: 13.81 kB / 0.6273 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01123, allocations: 4.156 kB / 0.6273 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01125, allocations: 4 kB / 0.6273 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01138, allocations: 63.88 kB / 0.6273 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01139, allocations: 4 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.0115, allocations: 35.86 kB / 0.6274 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01151, allocations: 8 kB / 0.6274 GB, free: 3.832 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.512e-05/0.01159, allocations: 134.8 kB / 0.6275 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.01165, allocations: 35.81 kB / 0.6276 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.01209, allocations: 291.1 kB / 0.6278 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01209, allocations: 8 kB / 0.6278 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.0121, allocations: 4 kB / 0.6278 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.0121, allocations: 0 / 0.6278 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.01232, allocations: 236.6 kB / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01232, allocations: 0 / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.01244, allocations: 55.89 kB / 0.6281 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01245, allocations: 0 / 0.6281 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01246, allocations: 7.938 kB / 0.6281 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01246, allocations: 4 kB / 0.6281 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01246, allocations: 4 kB / 0.6281 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.0129, allocations: 442.6 kB / 0.6286 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.01292, allocations: 27.75 kB / 0.6286 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01295, allocations: 7.938 kB / 0.6286 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01307, allocations: 35.95 kB / 0.6286 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.01312, allocations: 15.97 kB / 0.6286 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01313, allocations: 4 kB / 0.6286 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001132/0.01324, allocations: 191.1 kB / 0.6288 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01324, allocations: 4 kB / 0.6288 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000232/0.01348, allocations: 55.89 kB / 0.6289 GB, free: 2.227 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.0006898/0.01417, allocations: 0.9886 MB / 0.6299 GB, free: 1.211 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.01457, allocations: 228.7 kB / 0.6301 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01457, allocations: 0 / 0.6301 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.01474, allocations: 111.8 kB / 0.6302 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.01512, allocations: 78.53 kB / 0.6303 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.01776, allocations: 2.707 MB / 0.6329 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.01785, allocations: 142.9 kB / 0.633 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.01795, allocations: 30.28 kB / 0.6331 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.01804, allocations: 92.41 kB / 0.6331 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.01804, allocations: 0 / 0.6331 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.03954, allocations: 7.668 MB / 0.6406 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.006, allocations: 3.75 kB / 0.6406 GB, free: 6.277 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 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: 9.589454968459904] Failed to read output from testmodel.py, exit status != 0: 7.088850882835686 7.101096682 7.093104897 Calling exit ...