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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007945/0.007945, allocations: 103.2 kB / 15.73 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 191.4 kB / 16.67 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7585/0.7585, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 69.64 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 80.92 MB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002355/0.1531, allocations: 1.254 MB / 0.6653 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.1569, allocations: 3.267 MB / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.1569, allocations: 0 / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.157, allocations: 3.938 kB / 0.6685 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.157, allocations: 4 kB / 0.6685 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.1576, allocations: 111.5 kB / 0.6686 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.1577, allocations: 31.92 kB / 0.6687 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1577, allocations: 7.984 kB / 0.6687 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.1578, allocations: 11.98 kB / 0.6687 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.1578, allocations: 19.92 kB / 0.6687 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1578, allocations: 0 / 0.6687 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.1581, allocations: 87.73 kB / 0.6688 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.1581, allocations: 8 kB / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.1581, allocations: 23.91 kB / 0.6688 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1583, allocations: 66.67 kB / 0.6689 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1583, allocations: 4 kB / 0.6689 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1583, allocations: 0 / 0.6689 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1584, allocations: 0 / 0.6689 GB, free: 1.375 MB / 0.4981 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.0003953/0.1588, allocations: 344.3 kB / 0.6692 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1588, allocations: 9.109 kB / 0.6692 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1588, allocations: 38.75 kB / 0.6693 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.926e-05/0.1589, allocations: 12.84 kB / 0.6693 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.159, allocations: 164.4 kB / 0.6694 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1591, allocations: 4.375 kB / 0.6694 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1591, allocations: 12.25 kB / 0.6695 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1592, allocations: 57.61 kB / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1592, allocations: 0 / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1593, allocations: 4 kB / 0.6695 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1593, allocations: 3.984 kB / 0.6695 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.1593, allocations: 15.98 kB / 0.6695 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1595, allocations: 165.7 kB / 0.6697 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1596, allocations: 58.42 kB / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.1596, allocations: 20.86 kB / 0.6698 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.1604, allocations: 0.5948 MB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1605, allocations: 38.56 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1605, allocations: 0 / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005702/0.161, allocations: 294.2 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1611, allocations: 55.41 kB / 0.6707 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.424e-05/0.1612, allocations: 101.8 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1612, allocations: 29.7 kB / 0.6708 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.1612, allocations: 84.05 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1613, allocations: 31.56 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1613, allocations: 29.7 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1614, allocations: 314.8 kB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.1614, allocations: 15.98 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.1615, allocations: 57.08 kB / 0.6714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1616, allocations: 73.09 kB / 0.6714 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1616, allocations: 3.938 kB / 0.6714 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001328/0.1618, allocations: 89.55 kB / 0.6715 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1618, allocations: 4.125 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1618, allocations: 8.438 kB / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1618, allocations: 0 / 0.6715 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.1619, allocations: 27.92 kB / 0.6716 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1619, allocations: 80 / 0.6716 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.162, allocations: 15.94 kB / 0.6716 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.162, allocations: 7.984 kB / 0.6716 GB, free: 14.21 MB / 0.5137 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 8.008e-05/0.1621, allocations: 109.8 kB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1621, allocations: 7.906 kB / 0.6717 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.1621, allocations: 15.95 kB / 0.6717 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1621, allocations: 0 / 0.6717 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1622, allocations: 4 kB / 0.6717 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1622, allocations: 4.219 kB / 0.6717 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.1624, allocations: 177.7 kB / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1624, allocations: 0 / 0.6719 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.1625, allocations: 16 kB / 0.6719 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1625, allocations: 0 / 0.6719 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1625, allocations: 3.984 kB / 0.6719 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1625, allocations: 4 kB / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1625, allocations: 0 / 0.6719 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1627, allocations: 171.5 kB / 0.6721 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1628, allocations: 92.98 kB / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1628, allocations: 0 / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1629, allocations: 4 kB / 0.6722 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.1629, allocations: 15.86 kB / 0.6722 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.163, allocations: 4 kB / 0.6722 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.163, allocations: 75.28 kB / 0.6722 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 4 kB / 0.6723 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002332/0.1632, allocations: 16 kB / 0.6723 GB, free: 13.41 MB / 0.5137 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.000429/0.1637, allocations: 0.7021 MB / 0.673 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1638, allocations: 40.09 kB / 0.673 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1638, allocations: 4.062 kB / 0.673 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/0.1638, allocations: 19.98 kB / 0.673 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1641, allocations: 16.48 kB / 0.673 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1657, allocations: 1.52 MB / 0.6745 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.166, allocations: 0.6846 MB / 0.6752 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.166, allocations: 15.91 kB / 0.6752 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.166, allocations: 15.44 kB / 0.6752 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of SimCode: time 1.463e-06/0.1661, allocations: 0 / 0.6752 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1849, allocations: 1.647 MB / 0.6768 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.542, allocations: 14.67 kB / 0.6768 GB, free: 8.645 MB / 0.5137 GB (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)