Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.0008228/0.0008228, 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.0008338/0.0008338, 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.9219/0.9219, allocations: 177.2 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.7554/0.7554, allocations: 154.6 MB / 413.8 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.253e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001603/0.001626, allocations: 1.277 MB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.004798, allocations: 2.755 MB / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.004832, allocations: 0 / 0.622 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.004852, allocations: 3.938 kB / 0.622 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.004906, allocations: 4 kB / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.005459, allocations: 107.4 kB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.476e-05/0.005543, allocations: 39.86 kB / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.005588, allocations: 7.938 kB / 0.6222 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.006037, allocations: 195.3 kB / 0.6223 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.006073, allocations: 11.97 kB / 0.6224 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.006085, allocations: 4 kB / 0.6224 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.006199, allocations: 55.83 kB / 0.6224 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.006215, allocations: 11.98 kB / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.006236, allocations: 7.938 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.006378, allocations: 71.84 kB / 0.6225 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00638, allocations: 0 / 0.6225 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/0.006383, allocations: 0 / 0.6225 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.006391, allocations: 0 / 0.6225 GB, free: 9.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003292/0.00672, allocations: 266.3 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.006759, allocations: 12.03 kB / 0.6228 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.006791, allocations: 34.73 kB / 0.6228 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.00682, allocations: 8.891 kB / 0.6228 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.006891, allocations: 109.7 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.006901, allocations: 8.375 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.00692, allocations: 8.312 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.007053, allocations: 135.3 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.007061, allocations: 192 / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.007071, allocations: 7.922 kB / 0.6231 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.007076, allocations: 0 / 0.6231 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.007122, allocations: 23.92 kB / 0.6231 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.007243, allocations: 128.8 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.007321, allocations: 46.56 kB / 0.6232 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.007348, allocations: 16.84 kB / 0.6233 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004304/0.007778, allocations: 250.1 kB / 0.6235 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.007798, allocations: 30.56 kB / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.0078, allocations: 0 / 0.6235 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004536/0.008253, allocations: 229.1 kB / 0.6238 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.008284, allocations: 51.41 kB / 0.6238 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.00835, allocations: 97.86 kB / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.008364, allocations: 29.7 kB / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.008398, allocations: 88.09 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.008414, allocations: 27.73 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.008447, allocations: 25.72 kB / 0.6241 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.008525, allocations: 326.8 kB / 0.6244 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.008543, allocations: 8 kB / 0.6244 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.008586, allocations: 53.14 kB / 0.6244 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.008652, allocations: 77.02 kB / 0.6245 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008653, allocations: 7.875 kB / 0.6245 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.984e-05/0.008753, allocations: 106 kB / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008767, allocations: 4 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008773, allocations: 0 / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.008787, allocations: 4 kB / 0.6246 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.008836, allocations: 20 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.008843, allocations: 7.984 kB / 0.6246 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.008863, allocations: 0 / 0.6246 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.008869, allocations: 4 kB / 0.6246 GB, free: 6.66 MB / 0.5886 GB 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 (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 prepare postOptimizeDAE: time 6.324e-05/0.008933, allocations: 122.7 kB / 0.6248 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.008949, allocations: 4 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.008973, allocations: 12.19 kB / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.008974, allocations: 288 / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.008979, allocations: 0 / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.008982, allocations: 0 / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.00914, allocations: 156.7 kB / 0.6249 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.009141, allocations: 0 / 0.6249 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.009187, allocations: 16 kB / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009189, allocations: 0 / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.009195, allocations: 0 / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009196, allocations: 0 / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009197, allocations: 0 / 0.6249 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.009341, allocations: 183.4 kB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.009365, allocations: 11.98 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.009375, allocations: 0 / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.009429, allocations: 8 kB / 0.6251 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.009443, allocations: 3.984 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.009448, allocations: 4 kB / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.00947, allocations: 75.28 kB / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00947, allocations: 0 / 0.6252 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001544/0.009624, allocations: 16 kB / 0.6252 GB, free: 5.988 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003028/0.009927, allocations: 0.7163 MB / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.01e-05/0.01002, allocations: 35.97 kB / 0.626 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01002, allocations: 0 / 0.626 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.01004, allocations: 19.98 kB / 0.626 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.01023, allocations: 4 kB / 0.626 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.01143, allocations: 1.475 MB / 0.6274 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01147, allocations: 71.33 kB / 0.6275 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.0115, allocations: 12 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.01153, allocations: 12.5 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.01153, allocations: 0 / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02807, allocations: 2.331 MB / 0.6298 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.909, allocations: 11.61 kB / 0.6298 GB, free: 1.297 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.718841970898211] Failed to read output from testmodel.py, exit status != 0: 6.987566627562046 7.001782974 6.992788124 Calling exit ...