Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.0006016/0.0006016, 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.0007469/0.0007469, 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.8878/0.8878, 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.7086/0.7086, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.349e-05, allocations: 2.281 kB / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.4048/0.4048, allocations: 160.5 MB / 0.7748 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006635/0.4114, allocations: 5.081 MB / 0.7798 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.4121, allocations: 46.22 kB / 0.7798 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008683/0.4129, allocations: 425.2 kB / 0.7802 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.4159, allocations: 1.796 MB / 0.782 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4172, allocations: 0.8492 MB / 0.7828 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.4192, allocations: 2.282 MB / 0.7851 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006416/0.4198, allocations: 0.5342 MB / 0.7856 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.4212, allocations: 1.25 MB / 0.7868 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4222, allocations: 0.6372 MB / 0.7874 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.733e-05/0.4223, allocations: 75.28 kB / 0.7875 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4238, allocations: 1.168 MB / 0.7886 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.424, allocations: 347.3 kB / 0.789 GB, free: 7.832 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.4243, allocations: 340.8 kB / 0.7893 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.4258, allocations: 1.675 MB / 0.7909 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4258, allocations: 0 / 0.7909 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4258, allocations: 3.938 kB / 0.7909 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.4258, allocations: 1.094 kB / 0.7909 GB, free: 7.117 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001301/0.4271, allocations: 1.131 MB / 0.792 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4272, allocations: 13.53 kB / 0.792 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.059e-05/0.4273, allocations: 102.9 kB / 0.7921 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.4282, allocations: 278.7 kB / 0.7924 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.429, allocations: 0.6409 MB / 0.793 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.429, allocations: 49.62 kB / 0.7931 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.4291, allocations: 63.19 kB / 0.7931 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.4298, allocations: 0.786 MB / 0.7939 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4298, allocations: 0 / 0.7939 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.4298, allocations: 24.03 kB / 0.7939 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.4299, allocations: 22.44 kB / 0.794 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.4304, allocations: 0.4997 MB / 0.7944 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.4322, allocations: 1.589 MB / 0.796 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.4327, allocations: 409 kB / 0.7964 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.4329, allocations: 209.7 kB / 0.7966 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.842e-05/0.433, allocations: 27.03 kB / 0.7966 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.433, allocations: 41.47 kB / 0.7966 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.433, allocations: 0 / 0.7966 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001713/0.4347, allocations: 1.371 MB / 0.798 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4348, allocations: 60.91 kB / 0.798 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.4352, allocations: 0.5432 MB / 0.7986 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4352, allocations: 36.36 kB / 0.7986 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.4354, allocations: 336.8 kB / 0.7989 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.4355, allocations: 171.4 kB / 0.7991 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/0.4356, allocations: 89.44 kB / 0.7992 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4357, allocations: 377.4 kB / 0.7995 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.4359, allocations: 175.1 kB / 0.7997 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.4361, allocations: 360.6 kB / 0.8001 GB, free: 1.793 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.4379, allocations: 1.296 MB / 0.8013 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4379, allocations: 6.281 kB / 0.8013 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005091/0.4384, allocations: 0.5337 MB / 0.8018 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4384, allocations: 11.34 kB / 0.8019 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4384, allocations: 3.062 kB / 0.8019 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4384, allocations: 2.906 kB / 0.8019 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.4386, allocations: 90.12 kB / 0.8019 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4387, allocations: 6.891 kB / 0.802 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.4389, allocations: 15.75 kB / 0.802 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.4389, allocations: 14.72 kB / 0.802 GB, free: 0.8242 MB / 0.6511 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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 0.0002047/0.4391, allocations: 257.1 kB / 0.8022 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.4392, allocations: 70.36 kB / 0.8023 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.4393, allocations: 80.98 kB / 0.8024 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4393, allocations: 6.859 kB / 0.8024 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4393, allocations: 2.375 kB / 0.8024 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004266/0.4397, allocations: 0.5109 MB / 0.8029 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.4411, allocations: 1.443 MB / 0.8043 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4411, allocations: 5.781 kB / 0.8043 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.4414, allocations: 115.5 kB / 0.8044 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4414, allocations: 8.469 kB / 0.8044 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4414, allocations: 12.56 kB / 0.8044 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4414, allocations: 16.06 kB / 0.8044 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4414, allocations: 4.969 kB / 0.8044 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.4422, allocations: 0.8994 MB / 0.8053 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4423, allocations: 123.5 kB / 0.8054 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4424, allocations: 23.45 kB / 0.8055 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4426, allocations: 22.17 kB / 0.8055 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.4427, allocations: 46.19 kB / 0.8055 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4427, allocations: 28.33 kB / 0.8056 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002808/0.443, allocations: 398.4 kB / 0.8059 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.443, allocations: 0 / 0.8059 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003913/0.4434, allocations: 203.7 kB / 0.8061 GB, free: 14.06 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * Single equations (assignments): 49 * 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.00107/0.4445, allocations: 1.507 MB / 0.8076 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.4449, allocations: 429.2 kB / 0.808 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4449, allocations: 2.75 kB / 0.808 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4451, allocations: 227.1 kB / 0.8082 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4463, allocations: 488 kB / 0.8087 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.4509, allocations: 5.411 MB / 0.814 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.4511, allocations: 377.5 kB / 0.8143 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.4514, allocations: 172.3 kB / 0.8145 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.4517, allocations: 252.6 kB / 0.8147 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of SimCode: time 1.012e-06/0.4517, allocations: 0 / 0.8147 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4824, allocations: 22.7 MB / 0.8369 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/7.889, allocations: 10.91 kB / 0.8369 GB, free: 3.426 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.535856992937624] Failed to read output from testmodel.py, exit status != 0: 7.9809998804703355 7.995371974 7.566901071 Calling exit ...