Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002389, allocations: 356.8 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.334/1.334, allocations: 165.8 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.357/4.357, allocations: 410.8 MB / 0.5995 GB, free: 2.18 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 178 kB / 0.6662 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004518, allocations: 12 kB / 0.7423 GB, free: 32 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3865, allocations: 67.42 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001352/0.3879, allocations: 0.9957 MB / 0.8091 GB, free: 244.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.3888, allocations: 0.5334 MB / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.3889, allocations: 1.125 kB / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.3889, allocations: 0.5625 kB / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.389, allocations: 6.828 kB / 0.8096 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3895, allocations: 119.7 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.3896, allocations: 14.44 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.3896, allocations: 5.031 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.3896, allocations: 14.81 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.3897, allocations: 6.078 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3897, allocations: 1.844 kB / 0.8098 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.3904, allocations: 332 kB / 0.8101 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.3904, allocations: 9.625 kB / 0.8101 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.3904, allocations: 31.77 kB / 0.8101 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3907, allocations: 97.38 kB / 0.8102 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3907, allocations: 0 / 0.8102 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.307e-06/0.3907, allocations: 1.375 kB / 0.8102 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.821e-06/0.3907, allocations: 0 / 0.8102 GB, free: 244.4 MB / 0.5886 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.0003279/0.3911, allocations: 355.7 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3911, allocations: 8.953 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3911, allocations: 6.406 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.3912, allocations: 165.8 kB / 0.8108 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3913, allocations: 2.281 kB / 0.8108 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3913, allocations: 1.375 kB / 0.8108 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3914, allocations: 49.42 kB / 0.8108 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.901e-06/0.3914, allocations: 7 kB / 0.8108 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3914, allocations: 1.375 kB / 0.8108 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-06/0.3914, allocations: 0.7812 kB / 0.8108 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.3915, allocations: 20.09 kB / 0.8108 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.3918, allocations: 250.1 kB / 0.8111 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.392, allocations: 50.09 kB / 0.8111 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.3921, allocations: 18.7 kB / 0.8111 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3921, allocations: 3.859 kB / 0.8111 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3922, allocations: 36.64 kB / 0.8112 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.2e-06/0.3922, allocations: 0.75 kB / 0.8112 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.3924, allocations: 60.19 kB / 0.8112 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3924, allocations: 51.41 kB / 0.8113 GB, free: 243.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.3925, allocations: 97.77 kB / 0.8114 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-06/0.3925, allocations: 25.7 kB / 0.8114 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.3925, allocations: 90.12 kB / 0.8115 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3925, allocations: 11.45 kB / 0.8115 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-06/0.3926, allocations: 1.375 kB / 0.8115 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.3926, allocations: 317 kB / 0.8118 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.3927, allocations: 4.875 kB / 0.8118 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.3927, allocations: 23.42 kB / 0.8118 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.3928, allocations: 10.91 kB / 0.8118 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-06/0.3928, allocations: 6.156 kB / 0.8118 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.3929, allocations: 55.05 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3929, allocations: 4.781 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.413e-06/0.393, allocations: 4.562 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.393, allocations: 2.734 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.3931, allocations: 9.047 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.13e-06/0.3931, allocations: 3.938 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.3931, allocations: 7.719 kB / 0.8119 GB, free: 242.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-06/0.3931, allocations: 3.312 kB / 0.8119 GB, free: 242.7 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.3932, allocations: 113.9 kB / 0.812 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3932, allocations: 6.031 kB / 0.812 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.3934, allocations: 63.06 kB / 0.8121 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.193e-06/0.3934, allocations: 1.297 kB / 0.8121 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-06/0.3934, allocations: 2 kB / 0.8121 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-06/0.3935, allocations: 0 / 0.8121 GB, free: 242.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3936, allocations: 162.2 kB / 0.8123 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-06/0.3936, allocations: 0 / 0.8123 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3937, allocations: 10.89 kB / 0.8123 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.04e-06/0.3937, allocations: 1.375 kB / 0.8123 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3937, allocations: 6.641 kB / 0.8123 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3937, allocations: 2.188 kB / 0.8123 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3937, allocations: 2.594 kB / 0.8123 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3939, allocations: 145.8 kB / 0.8124 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.3939, allocations: 79.78 kB / 0.8125 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3939, allocations: 4 kB / 0.8125 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.394, allocations: 5.203 kB / 0.8125 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.394, allocations: 2.625 kB / 0.8125 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-06/0.394, allocations: 4.219 kB / 0.8125 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.3941, allocations: 78.12 kB / 0.8126 GB, free: 242 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.34e-07/0.3941, allocations: 1.625 kB / 0.8126 GB, free: 242 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000328/0.3944, allocations: 18 kB / 0.8126 GB, free: 242 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.3946, allocations: 127.7 kB / 0.8127 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.3947, allocations: 23.2 kB / 0.8128 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.3948, allocations: 0 / 0.8128 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.3948, allocations: 8.812 kB / 0.8128 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3951, allocations: 7.859 kB / 0.8128 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.3954, allocations: 138 kB / 0.8129 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.3955, allocations: 0.6793 MB / 0.8136 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.539e-05/0.3956, allocations: 10.77 kB / 0.8136 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.3956, allocations: 14.27 kB / 0.8136 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.418e-06/0.3956, allocations: 1.062 kB / 0.8136 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.002934/0.3985, allocations: 492 kB / 0.8141 GB, free: 241.1 MB / 0.5886 GB