Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007411/0.007411, allocations: 170 kB / 16.26 MB, free: 6.613 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 9.844 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001561/0.3121, allocations: 1.02 MB / 1.075 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3132, allocations: 0.5957 MB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.3132, allocations: 0 / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.3132, allocations: 3.938 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.3133, allocations: 7.984 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.3138, allocations: 119.6 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.498e-05/0.3138, allocations: 19.92 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3139, allocations: 3.938 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.3139, allocations: 7.938 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.314, allocations: 11.98 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.314, allocations: 7.938 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.3145, allocations: 339.4 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.3145, allocations: 0 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.3146, allocations: 37.64 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3148, allocations: 148 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3149, allocations: 0 / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3149, allocations: 7.938 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3149, allocations: 0 / 1.076 GB, free: 5.242 MB / 0.8262 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.000432/0.3153, allocations: 355.4 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3154, allocations: 8.031 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.3154, allocations: 8.844 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3155, allocations: 168.3 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3156, allocations: 4.375 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3156, allocations: 4.375 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3157, allocations: 38.25 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3157, allocations: 192 / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3157, allocations: 11.94 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3158, allocations: 0 / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.3158, allocations: 8 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.3161, allocations: 249 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3164, allocations: 54.5 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.3164, allocations: 20.84 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3164, allocations: 4 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3165, allocations: 34.56 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3165, allocations: 0 / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.3167, allocations: 57.81 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.3167, allocations: 59.41 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.3168, allocations: 101.8 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3168, allocations: 25.7 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.3169, allocations: 84.05 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3169, allocations: 15.84 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.3169, allocations: 9.719 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3171, allocations: 318.8 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.3171, allocations: 8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.3171, allocations: 21.72 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.12e-05/0.3172, allocations: 33.64 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3172, allocations: 0 / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.471e-05/0.3173, allocations: 61.53 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3173, allocations: 9.25 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3173, allocations: 0 / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3173, allocations: 3.938 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.3174, allocations: 8 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3174, allocations: 7.969 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.3174, allocations: 0 / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3174, allocations: 4 kB / 1.078 GB, free: 3.246 MB / 0.8262 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 8.321e-05/0.3175, allocations: 113.8 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3176, allocations: 4 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3177, allocations: 61.17 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3177, allocations: 3.938 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3177, allocations: 4 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3177, allocations: 0 / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3179, allocations: 165.5 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3179, allocations: 0 / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.3179, allocations: 11.94 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3179, allocations: 0 / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.318, allocations: 3.984 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.318, allocations: 0 / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.318, allocations: 0 / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.3181, allocations: 151.5 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3181, allocations: 81.11 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3181, allocations: 4 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.3182, allocations: 0 / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.3182, allocations: 0 / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3182, allocations: 4 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.3183, allocations: 79.27 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3183, allocations: 0 / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002519/0.3185, allocations: 23.94 kB / 1.079 GB, free: 2.445 MB / 0.8262 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.0001754/0.3187, allocations: 123.6 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.237e-05/0.3188, allocations: 23.98 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3188, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.3188, allocations: 8.094 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.3191, allocations: 12.69 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.3194, allocations: 144.6 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3196, allocations: 0.677 MB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.3197, allocations: 7.906 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.3197, allocations: 11.42 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of SimCode: time 1.212e-06/0.3197, allocations: 0 / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.002568/0.3223, allocations: 492.3 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)