Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.761/1.761, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001665/0.001665, allocations: 179.2 kB / 393.1 MB, free: 4.074 MB / 314.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.513/1.513, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009779, allocations: 96.77 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5557, allocations: 121.3 MB / 1.041 GB, free: 58.76 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1863/0.7421, allocations: 189.8 MB / 1.226 GB, free: 5.465 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01624/0.7584, allocations: 13.64 MB / 1.24 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.76, allocations: 35.75 kB / 1.24 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.7616, allocations: 437.5 kB / 1.24 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004668/0.7663, allocations: 1.686 MB / 1.242 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.7698, allocations: 1.044 MB / 1.243 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004322/0.7741, allocations: 3.732 MB / 1.246 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.7755, allocations: 0.9938 MB / 1.247 GB, free: 15.95 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.7791, allocations: 1.389 MB / 1.249 GB, free: 14.55 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.7813, allocations: 0.935 MB / 1.25 GB, free: 13.62 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.7815, allocations: 52 kB / 1.25 GB, free: 13.57 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.7853, allocations: 1.874 MB / 1.251 GB, free: 11.69 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005168/0.7858, allocations: 450.6 kB / 1.252 GB, free: 11.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.7867, allocations: 0.6428 MB / 1.253 GB, free: 10.59 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.7901, allocations: 2.34 MB / 1.255 GB, free: 8.246 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7901, allocations: 0 / 1.255 GB, free: 8.246 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7901, allocations: 4 kB / 1.255 GB, free: 8.242 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.851e-05/0.7902, allocations: 0 / 1.255 GB, free: 8.242 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002431/0.7926, allocations: 1.449 MB / 1.256 GB, free: 6.738 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7927, allocations: 12.03 kB / 1.256 GB, free: 6.727 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.7943, allocations: 322 kB / 1.257 GB, free: 6.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.7959, allocations: 0.9288 MB / 1.257 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.796, allocations: 82 kB / 1.258 GB, free: 5.359 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.7962, allocations: 107.9 kB / 1.258 GB, free: 5.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.7981, allocations: 1.175 MB / 1.259 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.7982, allocations: 0 / 1.259 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.7983, allocations: 44 kB / 1.259 GB, free: 3.996 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.7983, allocations: 38 kB / 1.259 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.7999, allocations: 0.9329 MB / 1.26 GB, free: 3.027 MB / 0.823 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.00502/0.8049, allocations: 4.721 MB / 1.264 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.806, allocations: 0.7323 MB / 1.265 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.8066, allocations: 391 kB / 1.265 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.8072, allocations: 332.7 kB / 1.266 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.8072, allocations: 39.12 kB / 1.266 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=69): time 2.084e-06/0.8072, allocations: 4 kB / 1.266 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69): time 0.001885/0.8091, allocations: 1.021 MB / 1.267 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.8092, allocations: 59.97 kB / 1.267 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.8102, allocations: 0.7829 MB / 1.268 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.8102, allocations: 37.7 kB / 1.268 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.8107, allocations: 0.5344 MB / 1.268 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.8109, allocations: 252.4 kB / 1.268 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.8109, allocations: 16 kB / 1.268 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.811, allocations: 341.9 kB / 1.269 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.8115, allocations: 289.8 kB / 1.269 GB, free: 9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.8122, allocations: 0.5077 MB / 1.27 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.8134, allocations: 0.7905 MB / 1.27 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8134, allocations: 0 / 1.27 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001416/0.8148, allocations: 0.9099 MB / 1.271 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.815, allocations: 224.2 kB / 1.271 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.815, allocations: 4 kB / 1.271 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.815, allocations: 8 kB / 1.271 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/0.8159, allocations: 191.7 kB / 1.272 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/0.8163, allocations: 0.6016 MB / 1.272 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.8172, allocations: 128.9 kB / 1.272 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.8173, allocations: 35.98 kB / 1.272 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.8173, allocations: 7.938 kB / 1.272 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/0.8186, allocations: 0.7963 MB / 1.273 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8186, allocations: 8 kB / 1.273 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.8186, allocations: 8 kB / 1.273 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.8192, allocations: 167.7 kB / 1.273 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.8193, allocations: 15.88 kB / 1.273 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.8201, allocations: 115.4 kB / 1.273 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.8202, allocations: 36 kB / 1.273 GB, free: 4.223 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007409/0.821, allocations: 408.8 kB / 1.274 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.8212, allocations: 98.78 kB / 1.274 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.8227, allocations: 0.8053 MB / 1.275 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8227, allocations: 15.94 kB / 1.275 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8227, allocations: 0 / 1.275 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/0.8238, allocations: 0.8866 MB / 1.276 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.8275, allocations: 2.167 MB / 1.278 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8275, allocations: 4 kB / 1.278 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.8283, allocations: 155.8 kB / 1.278 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.8283, allocations: 4 kB / 1.278 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.8284, allocations: 20 kB / 1.278 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.8287, allocations: 0.5938 MB / 1.279 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.8287, allocations: 16.05 kB / 1.279 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.8305, allocations: 1.331 MB / 1.28 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.831, allocations: 255.7 kB / 1.28 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8312, allocations: 19.98 kB / 1.28 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.8318, allocations: 72.64 kB / 1.28 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.8319, allocations: 44.5 kB / 1.28 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.832, allocations: 31.98 kB / 1.28 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000734/0.8327, allocations: 0.5302 MB / 1.281 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.8328, allocations: 0 / 1.281 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001467/0.8342, allocations: 0.5647 MB / 1.281 GB, free: 11.95 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005431/0.8348, allocations: 259.6 kB / 1.282 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.8369, allocations: 1.168 MB / 1.283 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.837, allocations: 0 / 1.283 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.8376, allocations: 376.4 kB / 1.283 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.8399, allocations: 482.9 kB / 1.284 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.8438, allocations: 2.84 MB / 1.286 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/0.8446, allocations: 1.171 MB / 1.287 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001199/0.8458, allocations: 356.2 kB / 1.288 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.8461, allocations: 83.42 kB / 1.288 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of SimCode: time 1.963e-06/0.8461, allocations: 0 / 1.288 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of Templates: time 0.03071/0.8768, allocations: 17.17 MB / 1.305 GB, free: 4.238 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)