Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008348, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009068/0.000907, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.076/1.076, allocations: 135.3 MB / 427 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 0.5076 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2096, allocations: 82.31 MB / 0.588 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.5506/0.7602, allocations: 74.13 MB / 0.6604 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02902/0.7893, allocations: 18 MB / 0.6779 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.7941, allocations: 91.88 kB / 0.678 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.7981, allocations: 0.7773 MB / 0.6788 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01/0.8081, allocations: 2.294 MB / 0.681 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00757/0.8158, allocations: 1.798 MB / 0.6828 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03256/0.8483, allocations: 17.47 MB / 0.6998 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.8634, allocations: 5.28 MB / 0.705 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/0.8785, allocations: 4.633 MB / 0.7095 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01382/0.8924, allocations: 4.59 MB / 0.714 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00281/0.8953, allocations: 261 kB / 0.7143 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008909/0.9042, allocations: 1.216 MB / 0.7154 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004317/0.9086, allocations: 1.222 MB / 0.7166 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005471/0.9141, allocations: 1.106 MB / 0.7177 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.9284, allocations: 6.827 MB / 0.7244 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.9284, allocations: 4 kB / 0.7244 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.256e-06/0.9284, allocations: 0 / 0.7244 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000422/0.9288, allocations: 0 / 0.7244 GB, free: 1.016 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: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.01691/0.9458, allocations: 5.416 MB / 0.7297 GB, free: 11.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9458, allocations: 8.031 kB / 0.7297 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.9512, allocations: 0.844 MB / 0.7305 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.966, allocations: 5.093 MB / 0.7355 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.9664, allocations: 255.1 kB / 0.7357 GB, free: 5.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.9678, allocations: 344 kB / 0.7361 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.9784, allocations: 5.709 MB / 0.7416 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.9785, allocations: 7.938 kB / 0.7416 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00043/0.9789, allocations: 148 kB / 0.7418 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.9791, allocations: 114 kB / 0.7419 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00938/0.9884, allocations: 5.573 MB / 0.7473 GB, free: 9.098 MB / 0.5606 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.03549/1.024, allocations: 24.02 MB / 0.7708 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/1.029, allocations: 2.814 MB / 0.7735 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.032, allocations: 1.925 MB / 0.7754 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/1.045, allocations: 7.163 MB / 0.7824 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003084/1.048, allocations: 1.941 MB / 0.7843 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004812/1.053, allocations: 1.247 MB / 0.7855 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=156): time 1.103e-05/1.053, allocations: 0 / 0.7855 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156): time 0.01965/1.073, allocations: 7.628 MB / 0.793 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.073, allocations: 72.72 kB / 0.793 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/1.082, allocations: 4.886 MB / 0.7978 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008259/1.083, allocations: 69.7 kB / 0.7979 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/1.086, allocations: 2.463 MB / 0.8003 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.087, allocations: 0.5586 MB / 0.8008 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/1.087, allocations: 52 kB / 0.8009 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002429/1.087, allocations: 411.3 kB / 0.8013 GB, free: 288 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/1.09, allocations: 1.648 MB / 0.8029 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/1.095, allocations: 2.843 MB / 0.8057 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.099, allocations: 2.088 MB / 0.8077 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/1.099, allocations: 15.94 kB / 0.8077 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01304/1.112, allocations: 5.982 MB / 0.8136 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001262/1.113, allocations: 1.104 MB / 0.8146 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/1.113, allocations: 36 kB / 0.8147 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06056/1.174, allocations: 11.88 MB / 0.8263 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/1.177, allocations: 0.6786 MB / 0.8269 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008058/1.185, allocations: 5.046 MB / 0.8319 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005483/1.19, allocations: 349.8 kB / 0.8322 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008529/1.191, allocations: 163.8 kB / 0.8323 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.191, allocations: 4 kB / 0.8324 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/1.201, allocations: 5.334 MB / 0.8376 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/1.202, allocations: 32 kB / 0.8376 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0584/1.26, allocations: 11.69 MB / 0.849 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/1.263, allocations: 0.6591 MB / 0.8496 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.276, allocations: 8.072 MB / 0.8575 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/1.281, allocations: 327.9 kB / 0.8578 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006617/1.282, allocations: 155.9 kB / 0.858 GB, free: 4.691 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004054/1.286, allocations: 1.558 MB / 0.8595 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.288, allocations: 466.3 kB / 0.86 GB, free: 2.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5034/1.791, allocations: 4.868 MB / 0.8647 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.791, allocations: 16.97 kB / 0.8647 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.791, allocations: 3.781 kB / 0.8647 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01885/1.81, allocations: 7.071 MB / 0.8716 GB, free: 202.4 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.03321/1.844, allocations: 13.24 MB / 0.8846 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.844, allocations: 3.422 kB / 0.8846 GB, free: 197.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/1.846, allocations: 376.6 kB / 0.8849 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06094/1.907, allocations: 11.89 MB / 0.8965 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006566/1.908, allocations: 47.52 kB / 0.8966 GB, free: 196.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007186/1.915, allocations: 4.368 MB / 0.9009 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.915, allocations: 7.656 kB / 0.9009 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02606/1.941, allocations: 9.739 MB / 0.9104 GB, free: 191 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003973/1.945, allocations: 1.078 MB / 0.9114 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/1.946, allocations: 34.7 kB / 0.9115 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004114/1.951, allocations: 284.8 kB / 0.9117 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/1.951, allocations: 109.9 kB / 0.9118 GB, free: 190.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/1.951, allocations: 82.52 kB / 0.9119 GB, free: 190.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007508/1.959, allocations: 3.337 MB / 0.9152 GB, free: 189.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.61e-07/1.959, allocations: 0 / 0.9152 GB, free: 189.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01361/1.972, allocations: 2.676 MB / 0.9178 GB, free: 189.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/1.974, allocations: 0.5029 MB / 0.9183 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01743/1.992, allocations: 7.458 MB / 0.9256 GB, free: 186.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/1.992, allocations: 7.781 kB / 0.9256 GB, free: 186.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/1.997, allocations: 2.528 MB / 0.928 GB, free: 184.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01537/2.013, allocations: 2.755 MB / 0.9307 GB, free: 183.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/2.032, allocations: 11.6 MB / 0.9421 GB, free: 174 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/2.034, allocations: 3.209 MB / 0.9452 GB, free: 170.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/2.036, allocations: 375.2 kB / 0.9455 GB, free: 170.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.793e-06/2.036, allocations: 0 / 0.9455 GB, free: 170.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1782/2.214, allocations: 163.3 MB / 1.105 GB, free: 7.414 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o] Error 1