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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007221/0.007221, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00143/0.00143, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5172, allocations: 80.92 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002137/0.5194, allocations: 1.262 MB / 0.6658 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003251/0.5227, allocations: 3.26 MB / 0.669 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.5227, allocations: 0 / 0.669 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.5228, allocations: 0 / 0.669 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.5228, allocations: 9.516 kB / 0.669 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.5232, allocations: 105.4 kB / 0.6691 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.5233, allocations: 41.95 kB / 0.6692 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.5234, allocations: 9.5 kB / 0.6692 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.5234, allocations: 21.77 kB / 0.6692 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.5235, allocations: 10.73 kB / 0.6692 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.5235, allocations: 1.125 kB / 0.6692 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.5238, allocations: 84.95 kB / 0.6693 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.5238, allocations: 10.58 kB / 0.6693 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.5238, allocations: 10.62 kB / 0.6693 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.524, allocations: 69.08 kB / 0.6694 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5241, allocations: 3.984 kB / 0.6694 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5241, allocations: 4 kB / 0.6694 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5241, allocations: 0 / 0.6694 GB, free: 3.684 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.0003547/0.5244, allocations: 352.6 kB / 0.6697 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.5245, allocations: 9.656 kB / 0.6697 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.5246, allocations: 4.656 kB / 0.6697 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.5247, allocations: 165.9 kB / 0.6699 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.5247, allocations: 5.656 kB / 0.6699 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.5247, allocations: 8.562 kB / 0.6699 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.5249, allocations: 61.36 kB / 0.67 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5249, allocations: 0 / 0.67 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5249, allocations: 1.188 kB / 0.67 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5249, allocations: 1.031 kB / 0.67 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.525, allocations: 26.44 kB / 0.67 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.5251, allocations: 169.8 kB / 0.6702 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.5252, allocations: 48.16 kB / 0.6702 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.5252, allocations: 15.45 kB / 0.6702 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/0.5258, allocations: 0.5985 MB / 0.6708 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.5259, allocations: 32 kB / 0.6708 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.5259, allocations: 0 / 0.6708 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005509/0.5264, allocations: 303.2 kB / 0.6711 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.5265, allocations: 56.5 kB / 0.6712 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.5265, allocations: 102.2 kB / 0.6713 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5265, allocations: 27.17 kB / 0.6713 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.5266, allocations: 92.03 kB / 0.6714 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5266, allocations: 24.09 kB / 0.6714 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.5266, allocations: 25.45 kB / 0.6714 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.5267, allocations: 320 kB / 0.6717 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.5267, allocations: 20.08 kB / 0.6718 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.5268, allocations: 56.7 kB / 0.6718 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.5268, allocations: 74.38 kB / 0.6719 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5269, allocations: 1.281 kB / 0.6719 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001236/0.527, allocations: 94.34 kB / 0.672 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.527, allocations: 5.625 kB / 0.672 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.527, allocations: 1.094 kB / 0.672 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.527, allocations: 6.75 kB / 0.672 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.5271, allocations: 19.83 kB / 0.672 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5271, allocations: 6.469 kB / 0.672 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.5272, allocations: 9.5 kB / 0.672 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.5272, allocations: 8.125 kB / 0.672 GB, free: 0.8867 MB / 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 5.224e-05/0.5272, allocations: 117.9 kB / 0.6721 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.5273, allocations: 6.578 kB / 0.6722 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.5273, allocations: 11.95 kB / 0.6722 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5273, allocations: 1.094 kB / 0.6722 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5273, allocations: 1.406 kB / 0.6722 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5273, allocations: 3.938 kB / 0.6722 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.5275, allocations: 169.5 kB / 0.6723 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5275, allocations: 4.438 kB / 0.6723 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.5276, allocations: 21.78 kB / 0.6724 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5276, allocations: 0 / 0.6724 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5277, allocations: 9.312 kB / 0.6724 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.5277, allocations: 0 / 0.6724 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5277, allocations: 3.984 kB / 0.6724 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.5278, allocations: 170.2 kB / 0.6725 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.5279, allocations: 87.44 kB / 0.6726 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5279, allocations: 4 kB / 0.6726 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.528, allocations: 2.375 kB / 0.6726 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.528, allocations: 6.172 kB / 0.6726 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.528, allocations: 11.25 kB / 0.6726 GB, free: 264 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.93e-05/0.5281, allocations: 77.47 kB / 0.6727 GB, free: 188 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5281, allocations: 0 / 0.6727 GB, free: 188 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002377/0.5283, allocations: 14.38 kB / 0.6727 GB, free: 184 kB / 0.4981 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.0001092/0.5284, allocations: 108.6 kB / 0.6728 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5285, allocations: 43.2 kB / 0.6729 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5286, allocations: 0 / 0.6729 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.5286, allocations: 15.39 kB / 0.6729 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.5289, allocations: 7.812 kB / 0.6729 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.5295, allocations: 324 kB / 0.6732 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.5298, allocations: 0.6825 MB / 0.6739 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.5298, allocations: 11.83 kB / 0.6739 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.5299, allocations: 11.69 kB / 0.6739 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.415e-06/0.5299, allocations: 0 / 0.6739 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.003035/0.5329, allocations: 0.6259 MB / 0.6745 GB, free: 14.73 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)