Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.0008168/0.0008168, 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.0007851/0.0007851, allocations: 165.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.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6955/0.6955, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.955e-05, allocations: 5.234 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002117/0.002146, allocations: 1.278 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.005167, allocations: 3.075 MB / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.005202, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.005221, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.005271, allocations: 7.875 kB / 0.6223 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.005822, allocations: 103.5 kB / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.166e-05/0.005904, allocations: 51.83 kB / 0.6225 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.005944, allocations: 4 kB / 0.6225 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.006003, allocations: 27.91 kB / 0.6225 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.006059, allocations: 11.98 kB / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.006071, allocations: 0 / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.006255, allocations: 75.67 kB / 0.6226 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.00627, allocations: 4 kB / 0.6226 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.006292, allocations: 15.98 kB / 0.6226 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.006445, allocations: 67.78 kB / 0.6227 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.006448, allocations: 0 / 0.6227 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.282e-06/0.006449, allocations: 4 kB / 0.6227 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.006454, allocations: 0 / 0.6227 GB, free: 8.965 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.0003238/0.006777, allocations: 274.3 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.006816, allocations: 8.031 kB / 0.6229 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.006847, allocations: 34.75 kB / 0.623 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.006934, allocations: 8.891 kB / 0.623 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.007007, allocations: 109.7 kB / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.007017, allocations: 384 / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.00704, allocations: 8.375 kB / 0.6231 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.007185, allocations: 131.3 kB / 0.6232 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.007193, allocations: 4.188 kB / 0.6232 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.007206, allocations: 11.94 kB / 0.6232 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.007212, allocations: 0 / 0.6232 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.007257, allocations: 15.97 kB / 0.6232 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.00739, allocations: 136.7 kB / 0.6234 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.007471, allocations: 50.5 kB / 0.6234 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.007493, allocations: 12.86 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/0.007993, allocations: 253.7 kB / 0.6237 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.008012, allocations: 30.56 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.008013, allocations: 4 kB / 0.6237 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004694/0.008483, allocations: 225.5 kB / 0.6239 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.00851, allocations: 51.41 kB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.839e-05/0.008569, allocations: 101.8 kB / 0.6241 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.008584, allocations: 33.64 kB / 0.6241 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.008627, allocations: 95.97 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.008643, allocations: 15.86 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.008693, allocations: 33.66 kB / 0.6242 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.008783, allocations: 318.8 kB / 0.6245 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.008811, allocations: 15.98 kB / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.008859, allocations: 53.58 kB / 0.6246 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.008929, allocations: 73.09 kB / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.00893, allocations: 0 / 0.6247 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001092/0.009039, allocations: 97.77 kB / 0.6248 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.009055, allocations: 9.875 kB / 0.6248 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00906, allocations: 4.125 kB / 0.6248 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.009074, allocations: 4 kB / 0.6248 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.00916, allocations: 23.92 kB / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.009167, allocations: 0 / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.009193, allocations: 8 kB / 0.6248 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.0092, allocations: 4 kB / 0.6248 GB, free: 6.457 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 7.163e-05/0.009271, allocations: 122.7 kB / 0.6249 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.009289, allocations: 0 / 0.6249 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.009315, allocations: 12.06 kB / 0.6249 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.009318, allocations: 4 kB / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.009324, allocations: 11.92 kB / 0.625 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.009327, allocations: 0 / 0.625 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.009488, allocations: 140.7 kB / 0.6251 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009489, allocations: 0 / 0.6251 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.009537, allocations: 15.98 kB / 0.6251 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.00954, allocations: 4 kB / 0.6251 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.009547, allocations: 4 kB / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009548, allocations: 0 / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00955, allocations: 0 / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.009705, allocations: 179.5 kB / 0.6253 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.00973, allocations: 7.891 kB / 0.6253 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.009744, allocations: 8 kB / 0.6253 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.009803, allocations: 0 / 0.6253 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.009817, allocations: 7.984 kB / 0.6253 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.009824, allocations: 4 kB / 0.6253 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.636e-05/0.00985, allocations: 79.28 kB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00985, allocations: 0 / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001597/0.01001, allocations: 16 kB / 0.6254 GB, free: 5.785 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.0003974/0.01041, allocations: 0.6969 MB / 0.6261 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.01054, allocations: 59.94 kB / 0.6261 GB, free: 5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.01055, allocations: 4 kB / 0.6261 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.01056, allocations: 8 kB / 0.6262 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.01086, allocations: 8 kB / 0.6262 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01215, allocations: 1.479 MB / 0.6276 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.0122, allocations: 63.34 kB / 0.6277 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.01225, allocations: 8.062 kB / 0.6277 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.0123, allocations: 20.48 kB / 0.6277 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.0123, allocations: 0 / 0.6277 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.02689, allocations: 2.329 MB / 0.63 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.866, allocations: 1.719 kB / 0.63 GB, free: 1.105 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.548599546775222] Failed to read output from testmodel.py, exit status != 0: 6.945404632948339 6.953225939 6.944910956 Calling exit ...