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.005002/0.005002, allocations: 95.64 kB / 15.73 MB, free: 6.047 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.001455/0.001455, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.929/0.929, allocations: 135.6 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 76.06 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4155, allocations: 81.03 MB / 0.6648 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001991/0.4175, allocations: 1.248 MB / 0.6661 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.4204, allocations: 3.261 MB / 0.6692 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.4205, allocations: 0 / 0.6692 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.4205, allocations: 0 / 0.6692 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.4206, allocations: 9.359 kB / 0.6693 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.4211, allocations: 101.5 kB / 0.6694 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.906e-05/0.4211, allocations: 40.78 kB / 0.6694 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.4212, allocations: 6.469 kB / 0.6694 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.4212, allocations: 25.27 kB / 0.6694 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.4213, allocations: 14.62 kB / 0.6694 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4213, allocations: 1.344 kB / 0.6694 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.4215, allocations: 74.28 kB / 0.6695 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.4216, allocations: 13.11 kB / 0.6695 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.4216, allocations: 14.91 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.4218, allocations: 67.27 kB / 0.6696 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4218, allocations: 0 / 0.6696 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4218, allocations: 0 / 0.6696 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.4218, allocations: 0 / 0.6696 GB, free: 3.082 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.0003385/0.4222, allocations: 358.7 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4222, allocations: 13.66 kB / 0.67 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.4222, allocations: 31.94 kB / 0.67 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.4223, allocations: 8.141 kB / 0.67 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.664e-05/0.4224, allocations: 161.4 kB / 0.6701 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4224, allocations: 7.047 kB / 0.6702 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4225, allocations: 8.062 kB / 0.6702 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.4226, allocations: 53.14 kB / 0.6702 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4226, allocations: 4 kB / 0.6702 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4226, allocations: 5.156 kB / 0.6702 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4226, allocations: 1.688 kB / 0.6702 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.4227, allocations: 22.22 kB / 0.6702 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.4228, allocations: 164.6 kB / 0.6704 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.4229, allocations: 52.67 kB / 0.6705 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.423, allocations: 16.11 kB / 0.6705 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.4235, allocations: 0.5938 MB / 0.671 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4235, allocations: 40.19 kB / 0.6711 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4235, allocations: 0 / 0.6711 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005268/0.4241, allocations: 307.7 kB / 0.6714 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.4241, allocations: 52.81 kB / 0.6714 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.4242, allocations: 110 kB / 0.6715 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4242, allocations: 25.7 kB / 0.6716 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.4242, allocations: 89.31 kB / 0.6716 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.4242, allocations: 27.72 kB / 0.6717 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.4243, allocations: 33.22 kB / 0.6717 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.4243, allocations: 312.2 kB / 0.672 GB, free: 472 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.4244, allocations: 15.22 kB / 0.672 GB, free: 464 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.423e-05/0.4244, allocations: 60.86 kB / 0.6721 GB, free: 396 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.4245, allocations: 79.3 kB / 0.6721 GB, free: 320 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4245, allocations: 4 kB / 0.6722 GB, free: 316 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001207/0.4246, allocations: 90.86 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4247, allocations: 5.094 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4247, allocations: 2.344 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4247, allocations: 1.625 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.4248, allocations: 24.64 kB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4248, allocations: 2.938 kB / 0.6723 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.4248, allocations: 5.062 kB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4248, allocations: 4.281 kB / 0.6723 GB, free: 244 kB / 0.4981 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.017e-05/0.4249, allocations: 121.8 kB / 0.6724 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.4249, allocations: 10.72 kB / 0.6724 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.425, allocations: 7.969 kB / 0.6724 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.425, allocations: 1.469 kB / 0.6724 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.425, allocations: 0 / 0.6724 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.425, allocations: 3.938 kB / 0.6724 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4252, allocations: 174.2 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4252, allocations: 0 / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.4253, allocations: 16.7 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4254, allocations: 5.406 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4254, allocations: 1.125 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4254, allocations: 448 / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4254, allocations: 1.125 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4256, allocations: 181 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.4257, allocations: 83.41 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.4257, allocations: 9.25 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4258, allocations: 9.312 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.4259, allocations: 6.719 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4259, allocations: 3.094 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.4259, allocations: 80.67 kB / 0.673 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4259, allocations: 3.938 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002446/0.4262, allocations: 15.34 kB / 0.673 GB, free: 15.52 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.000638/0.4268, allocations: 0.7064 MB / 0.6737 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.427, allocations: 42.16 kB / 0.6737 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.427, allocations: 1.125 kB / 0.6737 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.427, allocations: 18.34 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4273, allocations: 18.3 kB / 0.6738 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.429, allocations: 1.521 MB / 0.6752 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4294, allocations: 0.6847 MB / 0.6759 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.4294, allocations: 7.172 kB / 0.6759 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.4295, allocations: 19.7 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4295, allocations: 4 kB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.4666, allocations: 1.644 MB / 0.6775 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.336/8.802, allocations: 16.09 kB / 0.6776 GB, free: 11.67 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)