Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.001113/0.001113, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7548/0.7548, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.88 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1417, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02177/0.1635, allocations: 20.75 MB / 0.6806 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006696/0.1703, allocations: 4.939 MB / 0.6854 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.171, allocations: 15.88 kB / 0.6854 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.1719, allocations: 286 kB / 0.6857 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.1742, allocations: 0.8605 MB / 0.6865 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.1761, allocations: 0.7152 MB / 0.6872 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.1779, allocations: 1.391 MB / 0.6886 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.1786, allocations: 428.4 kB / 0.689 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1797, allocations: 0.5876 MB / 0.6896 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009252/0.1807, allocations: 446.1 kB / 0.69 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.1808, allocations: 36 kB / 0.69 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.1824, allocations: 0.6394 MB / 0.6907 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1826, allocations: 123.5 kB / 0.6908 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.1831, allocations: 286.5 kB / 0.6911 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1849, allocations: 0.8606 MB / 0.6919 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1849, allocations: 0 / 0.6919 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1849, allocations: 0 / 0.6919 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.292e-05/0.185, allocations: 0 / 0.6919 GB, free: 9.824 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002092/0.1871, allocations: 0.9187 MB / 0.6928 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1871, allocations: 8.031 kB / 0.6928 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.1874, allocations: 64.19 kB / 0.6929 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.1884, allocations: 478.5 kB / 0.6933 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1884, allocations: 28.66 kB / 0.6933 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.1885, allocations: 36 kB / 0.6934 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.1893, allocations: 310 kB / 0.6937 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1893, allocations: 7.938 kB / 0.6937 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.1893, allocations: 12 kB / 0.6937 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1893, allocations: 4 kB / 0.6937 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.19, allocations: 262.4 kB / 0.6939 GB, free: 7.625 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.1923, allocations: 1.341 MB / 0.6953 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.1929, allocations: 252.4 kB / 0.6955 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.1932, allocations: 136.8 kB / 0.6956 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/0.1937, allocations: 0.4947 MB / 0.6961 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1937, allocations: 46.48 kB / 0.6962 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.1937, allocations: 0 / 0.6962 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001779/0.1955, allocations: 0.5573 MB / 0.6967 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1956, allocations: 59.34 kB / 0.6968 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.1961, allocations: 466.2 kB / 0.6972 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.1962, allocations: 33.7 kB / 0.6972 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1964, allocations: 244.4 kB / 0.6975 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.1965, allocations: 78.77 kB / 0.6975 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1966, allocations: 81.67 kB / 0.6976 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1967, allocations: 354.8 kB / 0.698 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.1971, allocations: 120.8 kB / 0.6981 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.1974, allocations: 177 kB / 0.6982 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.1981, allocations: 287.3 kB / 0.6985 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1981, allocations: 4 kB / 0.6985 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001575/0.1997, allocations: 497.6 kB / 0.699 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1997, allocations: 4 kB / 0.699 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1997, allocations: 0 / 0.699 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.2001, allocations: 52.81 kB / 0.699 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.2005, allocations: 67.89 kB / 0.6991 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.2009, allocations: 0.564 MB / 0.6997 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.2014, allocations: 51.69 kB / 0.6997 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.2014, allocations: 11.98 kB / 0.6997 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004213/0.2018, allocations: 243.9 kB / 0.7 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003475/0.2022, allocations: 174.6 kB / 0.7001 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005811/0.2028, allocations: 275.2 kB / 0.7004 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2028, allocations: 0 / 0.7004 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008081/0.2036, allocations: 364.8 kB / 0.7007 GB, free: 256 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2036, allocations: 4 kB / 0.7007 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2036, allocations: 7.938 kB / 0.7007 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.2037, allocations: 0 / 0.7007 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.204, allocations: 79.89 kB / 0.7008 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.204, allocations: 0 / 0.7008 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.2045, allocations: 55.7 kB / 0.7009 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.2045, allocations: 19.98 kB / 0.7009 GB, free: 88 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.2047, allocations: 192.2 kB / 0.7011 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.2048, allocations: 51.38 kB / 0.7011 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.2057, allocations: 425.2 kB / 0.7015 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.2058, allocations: 7.922 kB / 0.7015 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2058, allocations: 4 kB / 0.7015 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.206, allocations: 140.5 kB / 0.7017 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.206, allocations: 8 kB / 0.7017 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.2064, allocations: 27.95 kB / 0.7017 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.2064, allocations: 16.22 kB / 0.7017 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001036/0.2075, allocations: 469.7 kB / 0.7022 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001085/0.2086, allocations: 0.6739 MB / 0.7028 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003169/0.2089, allocations: 140.2 kB / 0.703 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003588/0.2093, allocations: 322.9 kB / 0.7033 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Backend: time 4.01e-07/0.2093, allocations: 7.938 kB / 0.7033 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.2112, allocations: 0.5992 MB / 0.7039 GB, free: 12.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.002/0.2132, allocations: 1.371 MB / 0.7052 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Templates: time 0.02/0.2332, allocations: 11.55 MB / 0.7165 GB, free: 172 kB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)