Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008461/0.000846, allocations: 100.8 kB / 15.71 MB, free: 460 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.000929/0.0009289, allocations: 175.7 kB / 16.58 MB, free: 6.141 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.456/1.456, allocations: 223.2 MB / 240.6 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8026/0.8026, allocations: 132.3 MB / 424 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8.562 kB / 0.504 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5104, allocations: 81.58 MB / 0.5837 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.07974/0.5902, allocations: 74.14 MB / 0.6561 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02972/0.62, allocations: 18 MB / 0.6736 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004469/0.6245, allocations: 91.38 kB / 0.6737 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.628, allocations: 0.7841 MB / 0.6745 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007766/0.6358, allocations: 2.28 MB / 0.6767 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.6423, allocations: 1.808 MB / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01991/0.6622, allocations: 17.46 MB / 0.6955 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009639/0.6719, allocations: 5.286 MB / 0.7007 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/0.6842, allocations: 4.63 MB / 0.7052 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009746/0.694, allocations: 4.587 MB / 0.7097 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001928/0.696, allocations: 267.9 kB / 0.71 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.7016, allocations: 1.213 MB / 0.7111 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.7037, allocations: 1.222 MB / 0.7123 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.7067, allocations: 1.108 MB / 0.7134 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009876/0.7166, allocations: 6.823 MB / 0.7201 GB, free: 4.516 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.7166, allocations: 0 / 0.7201 GB, free: 4.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.908e-06/0.7166, allocations: 0 / 0.7201 GB, free: 4.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003046/0.7169, allocations: 0 / 0.7201 GB, free: 4.516 MB / 0.545 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.01628/0.7332, allocations: 5.418 MB / 0.7254 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.7333, allocations: 12.03 kB / 0.7254 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005551/0.7389, allocations: 0.8479 MB / 0.7262 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.7535, allocations: 5.086 MB / 0.7312 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.7539, allocations: 263 kB / 0.7314 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.7557, allocations: 344 kB / 0.7318 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.7663, allocations: 5.705 MB / 0.7373 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.263e-05/0.7664, allocations: 11.92 kB / 0.7373 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004621/0.7668, allocations: 148 kB / 0.7375 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.767, allocations: 114 kB / 0.7376 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009602/0.7766, allocations: 5.569 MB / 0.743 GB, free: 12.59 MB / 0.5762 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.04232/0.8189, allocations: 24.02 MB / 0.7665 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/0.8248, allocations: 2.816 MB / 0.7692 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.8283, allocations: 1.932 MB / 0.7711 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/0.8435, allocations: 7.155 MB / 0.7781 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003628/0.8472, allocations: 1.941 MB / 0.78 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004861/0.8521, allocations: 1.25 MB / 0.7812 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=156): time 1.333e-05/0.8521, allocations: 0 / 0.7812 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=156): time 0.0217/0.8738, allocations: 7.635 MB / 0.7887 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.874, allocations: 72.7 kB / 0.7887 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/0.8844, allocations: 4.89 MB / 0.7935 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007107/0.8852, allocations: 61.7 kB / 0.7936 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002985/0.8882, allocations: 2.467 MB / 0.796 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.8894, allocations: 0.5508 MB / 0.7965 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005423/0.89, allocations: 60 kB / 0.7966 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002604/0.8903, allocations: 411.3 kB / 0.797 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/0.8936, allocations: 1.645 MB / 0.7986 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/0.8981, allocations: 2.847 MB / 0.8014 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.9021, allocations: 2.088 MB / 0.8034 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.02e-05/0.9022, allocations: 15.94 kB / 0.8034 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0136/0.9158, allocations: 5.978 MB / 0.8093 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.9169, allocations: 1.1 MB / 0.8103 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.571e-05/0.917, allocations: 39.94 kB / 0.8104 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4729/1.39, allocations: 11.88 MB / 0.822 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/1.393, allocations: 0.6687 MB / 0.8226 GB, free: 202 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/1.401, allocations: 5.041 MB / 0.8275 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.407, allocations: 349.5 kB / 0.8279 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007294/1.407, allocations: 162.4 kB / 0.828 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.407, allocations: 3.312 kB / 0.828 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009366/1.417, allocations: 5.342 MB / 0.8333 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.1e-05/1.417, allocations: 32.5 kB / 0.8333 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06017/1.477, allocations: 11.69 MB / 0.8447 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/1.48, allocations: 0.6541 MB / 0.8453 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009303/1.489, allocations: 8.082 MB / 0.8532 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.494, allocations: 323.9 kB / 0.8535 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/1.494, allocations: 155.9 kB / 0.8537 GB, free: 186.6 MB / 0.6387 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.002691/1.497, allocations: 1.546 MB / 0.8552 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.498, allocations: 472.7 kB / 0.8556 GB, free: 184.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.505, allocations: 4.877 MB / 0.8604 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.505, allocations: 27.94 kB / 0.8604 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.505, allocations: 0 / 0.8604 GB, free: 180 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01587/1.521, allocations: 7.063 MB / 0.8673 GB, free: 172.7 MB / 0.6387 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.0266/1.547, allocations: 13.25 MB / 0.8803 GB, free: 159.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.548, allocations: 0 / 0.8803 GB, free: 159.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/1.55, allocations: 371.6 kB / 0.8806 GB, free: 159 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05801/1.608, allocations: 11.9 MB / 0.8922 GB, free: 147.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005803/1.608, allocations: 43.97 kB / 0.8923 GB, free: 147.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/1.614, allocations: 4.38 MB / 0.8966 GB, free: 142.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.614, allocations: 3.953 kB / 0.8966 GB, free: 142.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/1.635, allocations: 9.739 MB / 0.9061 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/1.638, allocations: 1.084 MB / 0.9071 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.64, allocations: 31.95 kB / 0.9072 GB, free: 131.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003889/1.644, allocations: 280.3 kB / 0.9074 GB, free: 131.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003217/1.644, allocations: 105.2 kB / 0.9075 GB, free: 131.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.644, allocations: 83.92 kB / 0.9076 GB, free: 131.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004963/1.649, allocations: 3.338 MB / 0.9109 GB, free: 128.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.649, allocations: 0 / 0.9109 GB, free: 128.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009335/1.659, allocations: 2.685 MB / 0.9135 GB, free: 125.5 MB / 0.6387 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.001324/1.66, allocations: 492.5 kB / 0.914 GB, free: 125.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.674, allocations: 7.471 MB / 0.9213 GB, free: 117.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.674, allocations: 9.75 kB / 0.9213 GB, free: 117.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/1.679, allocations: 2.526 MB / 0.9237 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/1.693, allocations: 2.75 MB / 0.9264 GB, free: 112.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.711, allocations: 11.6 MB / 0.9378 GB, free: 100.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/1.713, allocations: 3.213 MB / 0.9409 GB, free: 97.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/1.714, allocations: 371.2 kB / 0.9412 GB, free: 97.17 MB / 0.6387 GB Notification: Performance of SimCode: time 1.423e-06/1.714, allocations: 4 kB / 0.9413 GB, free: 97.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.5721/2.286, allocations: 163.2 MB / 1.101 GB, free: 211.8 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile make -j1 -f IDEAS_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_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversalCalcHelperMain.o] Error 1