Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.853/1.853, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.0009427/0.0009428, allocations: 180.3 kB / 393.1 MB, free: 4.078 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.351/1.351, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0007259/0.0007259, allocations: 92.95 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 13.47 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5762, allocations: 121.3 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001415/0.5777, allocations: 1.021 MB / 1.042 GB, free: 57.91 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.5786, allocations: 1.021 MB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.5787, allocations: 1.156 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.5787, allocations: 1.312 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.5787, allocations: 8.953 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.5792, allocations: 122.2 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.5792, allocations: 26.06 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.5793, allocations: 2.344 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.5793, allocations: 7.938 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.5794, allocations: 14.72 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5794, allocations: 1.469 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.5799, allocations: 338.2 kB / 1.043 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.5799, allocations: 9.297 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.5799, allocations: 32.23 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.5802, allocations: 148.1 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.5802, allocations: 4.344 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5802, allocations: 1.812 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5803, allocations: 0 / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003961/0.5807, allocations: 353.5 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5807, allocations: 9.062 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.5807, allocations: 4.312 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.5809, allocations: 169.6 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5809, allocations: 1.781 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.5809, allocations: 1.281 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.581, allocations: 42.28 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.581, allocations: 3.812 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.581, allocations: 3.938 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.581, allocations: 2.625 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.5811, allocations: 15.34 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.5814, allocations: 253.9 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.5816, allocations: 49.69 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.5816, allocations: 17.55 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5817, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.5817, allocations: 31.5 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5817, allocations: 0.8438 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.5819, allocations: 66.59 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.5819, allocations: 60.84 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.432e-05/0.582, allocations: 98.66 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.582, allocations: 29.64 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.582, allocations: 81.75 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.582, allocations: 16.45 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.582, allocations: 1.844 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.5821, allocations: 315.4 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.851e-05/0.5821, allocations: 8.406 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.5821, allocations: 19.09 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.5822, allocations: 34.06 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5822, allocations: 0 / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.747e-05/0.5823, allocations: 61.12 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5823, allocations: 17.58 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5823, allocations: 0 / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5823, allocations: 5.203 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.5824, allocations: 6.031 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5824, allocations: 3.578 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.5824, allocations: 5.406 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5824, allocations: 2 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.5825, allocations: 112.8 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.5825, allocations: 4.719 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.5826, allocations: 68.72 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.5827, allocations: 0.5938 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5827, allocations: 3.031 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5827, allocations: 1.469 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5828, allocations: 159.1 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5828, allocations: 0 / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.5828, allocations: 7.125 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5829, allocations: 2.156 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.5829, allocations: 0 / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5829, allocations: 2.188 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5829, allocations: 0 / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.583, allocations: 151.2 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.583, allocations: 78.19 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.583, allocations: 1.344 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.5831, allocations: 0.5625 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.5831, allocations: 7.703 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.5831, allocations: 1.734 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.283e-05/0.5831, allocations: 86.91 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5832, allocations: 4 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002133/0.5834, allocations: 14.61 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.5835, allocations: 127.2 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.5836, allocations: 23.91 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5836, allocations: 0 / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.5837, allocations: 16.25 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.5839, allocations: 5.312 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.5841, allocations: 138.9 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.5843, allocations: 0.6792 MB / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.5843, allocations: 256 / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.5843, allocations: 10.12 kB / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5843, allocations: 0 / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of Templates: time 0.002405/0.5867, allocations: 0.5086 MB / 1.047 GB, free: 53.23 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)