Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.776/1.776, allocations: 291.7 MB / 306.8 MB, free: 7.664 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 186.9 kB / 375.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007887, allocations: 104.7 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005043, allocations: 14.38 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7904, allocations: 118.1 MB / 1.011 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01917/0.8096, allocations: 19.04 MB / 1.029 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006379/0.816, allocations: 4.61 MB / 1.034 GB, free: 49 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.8168, allocations: 16.03 kB / 1.034 GB, free: 48.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.8175, allocations: 196.2 kB / 1.034 GB, free: 48.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.8194, allocations: 0.6421 MB / 1.035 GB, free: 48.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.8214, allocations: 0.6076 MB / 1.035 GB, free: 48.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.8231, allocations: 1.566 MB / 1.037 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.8236, allocations: 370.2 kB / 1.037 GB, free: 47.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008225/0.8245, allocations: 0.4953 MB / 1.038 GB, free: 47.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.825, allocations: 422.1 kB / 1.038 GB, free: 47.1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.8251, allocations: 22.34 kB / 1.038 GB, free: 47.1 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.8264, allocations: 0.5182 MB / 1.039 GB, free: 46.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.8265, allocations: 104.1 kB / 1.039 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.8267, allocations: 126.2 kB / 1.039 GB, free: 46.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/0.8275, allocations: 0.5658 MB / 1.039 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.8275, allocations: 5.312 kB / 1.039 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8275, allocations: 0 / 1.039 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8276, allocations: 0 / 1.039 GB, free: 46.66 MB / 0.7136 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.001556/0.8291, allocations: 0.8311 MB / 1.04 GB, free: 46.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8292, allocations: 10.25 kB / 1.04 GB, free: 46.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.8293, allocations: 63.56 kB / 1.04 GB, free: 46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.8299, allocations: 451.7 kB / 1.041 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.8299, allocations: 23.28 kB / 1.041 GB, free: 45.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.83, allocations: 40.11 kB / 1.041 GB, free: 45.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.8307, allocations: 320.2 kB / 1.041 GB, free: 45.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.8308, allocations: 1.344 kB / 1.041 GB, free: 45.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.8308, allocations: 10.53 kB / 1.041 GB, free: 45.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.8308, allocations: 13.7 kB / 1.041 GB, free: 45.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000724/0.8315, allocations: 282.2 kB / 1.041 GB, free: 45.44 MB / 0.7136 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.002158/0.8337, allocations: 1.352 MB / 1.043 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.8342, allocations: 269.8 kB / 1.043 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.8345, allocations: 149.7 kB / 1.043 GB, free: 44.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/0.8349, allocations: 0.4937 MB / 1.044 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.835, allocations: 40.25 kB / 1.044 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.835, allocations: 0 / 1.044 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.001782/0.8368, allocations: 0.5883 MB / 1.044 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.8369, allocations: 58.5 kB / 1.044 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.8374, allocations: 466.6 kB / 1.045 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.8374, allocations: 32.27 kB / 1.045 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.8376, allocations: 241.3 kB / 1.045 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.8376, allocations: 78.94 kB / 1.045 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.8377, allocations: 9.562 kB / 1.045 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.8378, allocations: 366.6 kB / 1.045 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.8381, allocations: 117.5 kB / 1.046 GB, free: 42.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.8384, allocations: 188 kB / 1.046 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.839, allocations: 291.7 kB / 1.046 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.839, allocations: 1.469 kB / 1.046 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009413/0.84, allocations: 431.5 kB / 1.046 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.8401, allocations: 111.5 kB / 1.047 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8401, allocations: 0 / 1.047 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.8404, allocations: 53.62 kB / 1.047 GB, free: 42.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.8408, allocations: 80.78 kB / 1.047 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003432/0.8412, allocations: 0.5612 MB / 1.047 GB, free: 41.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.8417, allocations: 73.88 kB / 1.047 GB, free: 41.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.8417, allocations: 18.5 kB / 1.047 GB, free: 41.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.8418, allocations: 3.188 kB / 1.047 GB, free: 41.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007008/0.8425, allocations: 313.4 kB / 1.048 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.8425, allocations: 0 / 1.048 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.8425, allocations: 4.094 kB / 1.048 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.8429, allocations: 91.19 kB / 1.048 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.8429, allocations: 1.844 kB / 1.048 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.8433, allocations: 62.19 kB / 1.048 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.8434, allocations: 17.42 kB / 1.048 GB, free: 41.34 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.8436, allocations: 253 kB / 1.048 GB, free: 41.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.8437, allocations: 49.41 kB / 1.048 GB, free: 41.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.8447, allocations: 442.9 kB / 1.048 GB, free: 40.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.8447, allocations: 2.625 kB / 1.048 GB, free: 40.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8447, allocations: 5.469 kB / 1.049 GB, free: 40.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8447, allocations: 3.328 kB / 1.049 GB, free: 40.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.8463, allocations: 0.9679 MB / 1.049 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8464, allocations: 1.281 kB / 1.049 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.8466, allocations: 53.42 kB / 1.05 GB, free: 40.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.8468, allocations: 44.45 kB / 1.05 GB, free: 40.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.8468, allocations: 12.81 kB / 1.05 GB, free: 40.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002956/0.8471, allocations: 0.5568 MB / 1.05 GB, free: 39.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8472, allocations: 2.328 kB / 1.05 GB, free: 39.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.848, allocations: 0.509 MB / 1.051 GB, free: 39.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.8481, allocations: 159.3 kB / 1.051 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.8482, allocations: 7.906 kB / 1.051 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.8486, allocations: 45.89 kB / 1.051 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.8487, allocations: 23.36 kB / 1.051 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.8487, allocations: 15.14 kB / 1.051 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003787/0.8491, allocations: 316 kB / 1.051 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.302e-06/0.8491, allocations: 0 / 1.051 GB, free: 39.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008867/0.85, allocations: 250.5 kB / 1.051 GB, free: 39.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006385/0.8506, allocations: 257.1 kB / 1.052 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.8519, allocations: 493 kB / 1.052 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8519, allocations: 1.406 kB / 1.052 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.8523, allocations: 178.7 kB / 1.052 GB, free: 38.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.8538, allocations: 252.5 kB / 1.053 GB, free: 38.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.8553, allocations: 0.9823 MB / 1.053 GB, free: 38.15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.8557, allocations: 0.8492 MB / 1.054 GB, free: 37.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005038/0.8562, allocations: 125.8 kB / 1.054 GB, free: 37.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.8563, allocations: 43.16 kB / 1.054 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.8563, allocations: 0 / 1.054 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.01799/0.8743, allocations: 9.611 MB / 1.064 GB, free: 36.82 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)