Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.59/0.59, allocations: 94.77 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001233/0.001233, allocations: 174.1 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.549/1.549, allocations: 170.6 MB / 319.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001586/0.001586, allocations: 103 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.774e-05, allocations: 3.984 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 61.53 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.6015, allocations: 93.96 MB / 0.5904 GB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.6018, allocations: 78.7 kB / 0.5905 GB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01269/0.6145, allocations: 4.058 MB / 0.5945 GB, free: 3.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6146, allocations: 4 kB / 0.5945 GB, free: 3.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.6146, allocations: 0 / 0.5945 GB, free: 3.961 MB / 410.7 MB 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.0004104/0.615, allocations: 375 kB / 0.5948 GB, free: 3.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6151, allocations: 8.031 kB / 0.5948 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.6151, allocations: 3.375 kB / 0.5948 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.6153, allocations: 169.2 kB / 0.595 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.6153, allocations: 3.984 kB / 0.595 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.6153, allocations: 0 / 0.595 GB, free: 3.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.42e-05/0.6154, allocations: 20 kB / 0.595 GB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.739e-05/0.6155, allocations: 39.91 kB / 0.5951 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6155, allocations: 3.938 kB / 0.5951 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.6155, allocations: 0 / 0.5951 GB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6155, allocations: 4 kB / 0.5951 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.6159, allocations: 225.5 kB / 0.5953 GB, free: 3.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.6161, allocations: 50.64 kB / 0.5953 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.6161, allocations: 16.86 kB / 0.5953 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.6166, allocations: 384.4 kB / 0.5957 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.6167, allocations: 34.56 kB / 0.5957 GB, free: 2.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6167, allocations: 0 / 0.5957 GB, free: 2.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003242/0.617, allocations: 64.8 kB / 0.5958 GB, free: 2.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6171, allocations: 51.41 kB / 0.5959 GB, free: 2.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.6171, allocations: 85 kB / 0.5959 GB, free: 2.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.6172, allocations: 29.7 kB / 0.596 GB, free: 2.188 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.6172, allocations: 92.66 kB / 0.5961 GB, free: 2.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.6173, allocations: 11.84 kB / 0.5961 GB, free: 2.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.6173, allocations: 0 / 0.5961 GB, free: 2.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6174, allocations: 318.8 kB / 0.5964 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.6174, allocations: 11.94 kB / 0.5964 GB, free: 1.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/0.6175, allocations: 13.72 kB / 0.5964 GB, free: 1.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.6178, allocations: 55.94 kB / 0.5964 GB, free: 1.676 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6178, allocations: 5.219 kB / 0.5965 GB, free: 1.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003829/0.6182, allocations: 97.53 kB / 0.5965 GB, free: 1.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6182, allocations: 4 kB / 0.5965 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.6183, allocations: 4 kB / 0.5966 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6183, allocations: 0 / 0.5966 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.6183, allocations: 15.92 kB / 0.5966 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6183, allocations: 0 / 0.5966 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.6184, allocations: 4.031 kB / 0.5966 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.6184, allocations: 9.953 kB / 0.5966 GB, free: 1.535 MB / 410.7 MB 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 () * 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 6.892e-05/0.6185, allocations: 104.9 kB / 0.5967 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.6185, allocations: 0 / 0.5967 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.619, allocations: 112.3 kB / 0.5968 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.619, allocations: 0 / 0.5968 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.619, allocations: 1.5 kB / 0.5968 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.619, allocations: 3.984 kB / 0.5968 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6192, allocations: 134.2 kB / 0.5969 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6192, allocations: 3.938 kB / 0.5969 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.6192, allocations: 15.92 kB / 0.5969 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6192, allocations: 0 / 0.5969 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.6192, allocations: 0 / 0.5969 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6192, allocations: 0 / 0.5969 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.6193, allocations: 8.938 kB / 0.5969 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.6197, allocations: 193.2 kB / 0.5971 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.6197, allocations: 81.06 kB / 0.5972 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.6198, allocations: 0 / 0.5972 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.6198, allocations: 0 / 0.5972 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.6198, allocations: 8 kB / 0.5972 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.6198, allocations: 0 / 0.5972 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.434e-05/0.6199, allocations: 83.27 kB / 0.5973 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6199, allocations: 1.875 kB / 0.5973 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.6202, allocations: 67.88 kB / 0.5974 GB, free: 0.6484 MB / 410.7 MB 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 () * 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.0003047/0.6205, allocations: 194.9 kB / 0.5975 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.6206, allocations: 20 kB / 0.5976 GB, free: 440 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6206, allocations: 0 / 0.5976 GB, free: 440 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.6207, allocations: 12.06 kB / 0.5976 GB, free: 428 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.6208, allocations: 0 / 0.5976 GB, free: 428 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.621, allocations: 64.81 kB / 0.5976 GB, free: 344 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.6213, allocations: 0.6768 MB / 0.5983 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.6214, allocations: 10.88 kB / 0.5983 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.6214, allocations: 11.44 kB / 0.5983 GB, free: 15.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6214, allocations: 0 / 0.5983 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003284/0.6247, allocations: 1.128 MB / 0.5994 GB, free: 14.53 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunction.pipe 2>&1)