Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9728/0.9728, allocations: 175.7 MB / 480.1 MB, free: 2.809 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 71.44 kB / 0.6677 GB, free: 11.04 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1559, allocations: 94.53 MB / 0.76 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002157/0.1581, allocations: 1.266 MB / 0.7613 GB, free: 15.6 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1617, allocations: 3.306 MB / 0.7645 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.1617, allocations: 0 / 0.7645 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1617, allocations: 3.938 kB / 0.7645 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.1618, allocations: 4 kB / 0.7645 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1622, allocations: 107.5 kB / 0.7646 GB, free: 12.16 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.1623, allocations: 39.91 kB / 0.7646 GB, free: 12.12 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.117e-05/0.1623, allocations: 3.984 kB / 0.7646 GB, free: 12.11 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.1623, allocations: 23.88 kB / 0.7647 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1624, allocations: 11.97 kB / 0.7647 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1624, allocations: 7.938 kB / 0.7647 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1626, allocations: 83.8 kB / 0.7648 GB, free: 11.99 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1626, allocations: 7.984 kB / 0.7648 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.1627, allocations: 15.94 kB / 0.7648 GB, free: 11.96 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.1628, allocations: 72 kB / 0.7649 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1628, allocations: 4 kB / 0.7649 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1628, allocations: 4 kB / 0.7649 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1628, allocations: 0 / 0.7649 GB, free: 11.89 MB / 0.5763 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.0004051/0.1633, allocations: 347.4 kB / 0.7652 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1633, allocations: 8.031 kB / 0.7652 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1633, allocations: 34.75 kB / 0.7652 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.1634, allocations: 4.938 kB / 0.7652 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1635, allocations: 168.3 kB / 0.7654 GB, free: 11.24 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.1635, allocations: 8.375 kB / 0.7654 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1636, allocations: 12.33 kB / 0.7654 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1637, allocations: 57.61 kB / 0.7655 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1637, allocations: 3.938 kB / 0.7655 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1637, allocations: 4 kB / 0.7655 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1637, allocations: 0 / 0.7655 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.1637, allocations: 15.97 kB / 0.7655 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1639, allocations: 165.7 kB / 0.7657 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.164, allocations: 58.48 kB / 0.7657 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.1641, allocations: 20.84 kB / 0.7657 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.1648, allocations: 0.583 MB / 0.7663 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.1648, allocations: 34.56 kB / 0.7663 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1648, allocations: 0 / 0.7663 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.0005994/0.1654, allocations: 310.5 kB / 0.7666 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1654, allocations: 55.41 kB / 0.7667 GB, free: 9.68 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.45e-05/0.1655, allocations: 101.7 kB / 0.7668 GB, free: 9.57 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1655, allocations: 29.7 kB / 0.7668 GB, free: 9.535 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.1656, allocations: 88.03 kB / 0.7669 GB, free: 9.445 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1656, allocations: 31.73 kB / 0.7669 GB, free: 9.414 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1657, allocations: 29.7 kB / 0.767 GB, free: 9.379 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1658, allocations: 314.8 kB / 0.7673 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.1658, allocations: 12 kB / 0.7673 GB, free: 9.051 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.1659, allocations: 53.14 kB / 0.7673 GB, free: 8.98 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.166, allocations: 81.25 kB / 0.7674 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.166, allocations: 0 / 0.7674 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000131/0.1661, allocations: 89.55 kB / 0.7675 GB, free: 8.789 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1661, allocations: 4 kB / 0.7675 GB, free: 8.785 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1661, allocations: 4 kB / 0.7675 GB, free: 8.781 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1661, allocations: 0 / 0.7675 GB, free: 8.781 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.644e-05/0.1662, allocations: 24.05 kB / 0.7675 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1662, allocations: 8 kB / 0.7675 GB, free: 8.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.1663, allocations: 7.938 kB / 0.7675 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1663, allocations: 4 kB / 0.7675 GB, free: 8.738 MB / 0.5763 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 9.114e-05/0.1664, allocations: 117.8 kB / 0.7676 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.1664, allocations: 7.953 kB / 0.7677 GB, free: 8.605 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.1664, allocations: 7.969 kB / 0.7677 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1664, allocations: 0 / 0.7677 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1664, allocations: 448 / 0.7677 GB, free: 8.598 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1664, allocations: 7.938 kB / 0.7677 GB, free: 8.59 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1667, allocations: 173.7 kB / 0.7678 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1667, allocations: 4 kB / 0.7678 GB, free: 8.367 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.1668, allocations: 19.98 kB / 0.7679 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1668, allocations: 0 / 0.7679 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1668, allocations: 0 / 0.7679 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1668, allocations: 3.938 kB / 0.7679 GB, free: 8.344 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1668, allocations: 4 kB / 0.7679 GB, free: 8.34 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.167, allocations: 183.3 kB / 0.768 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.167, allocations: 85.11 kB / 0.7681 GB, free: 8.043 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.167, allocations: 4.031 kB / 0.7681 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.1671, allocations: 0 / 0.7681 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.1671, allocations: 11.94 kB / 0.7681 GB, free: 8.027 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1671, allocations: 4 kB / 0.7681 GB, free: 8.023 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.1672, allocations: 79.27 kB / 0.7682 GB, free: 7.945 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1672, allocations: 0 / 0.7682 GB, free: 7.945 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.000224/0.1674, allocations: 16 kB / 0.7682 GB, free: 7.93 MB / 0.5763 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.0004824/0.1679, allocations: 0.7048 MB / 0.7689 GB, free: 7.195 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.168, allocations: 43.91 kB / 0.769 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.168, allocations: 0 / 0.769 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.168, allocations: 12 kB / 0.769 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1683, allocations: 21.98 kB / 0.769 GB, free: 7.121 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1697, allocations: 1.547 MB / 0.7705 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.17, allocations: 0.6807 MB / 0.7712 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.1701, allocations: 8 kB / 0.7712 GB, free: 4.75 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1701, allocations: 19.42 kB / 0.7712 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of SimCode: time 3.91e-07/0.1701, allocations: 0 / 0.7712 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.193, allocations: 1.637 MB / 0.7728 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.227, allocations: 6.094 kB / 0.7728 GB, free: 3.168 MB / 0.5763 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.605793458002154]