Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.507/2.507, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 176.6 kB / 325.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.657/2.657, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009218, allocations: 96.22 kB / 0.6812 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006205/0.0006207, allocations: 11.81 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.232, allocations: 106.3 MB / 0.899 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002105/0.2342, allocations: 0.9798 MB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.2359, allocations: 0.531 MB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.236, allocations: 0 / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.236, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.2361, allocations: 3.938 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2372, allocations: 115.6 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.2373, allocations: 8 kB / 0.9006 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.2373, allocations: 4 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.2374, allocations: 7.922 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.2375, allocations: 7.984 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2375, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2386, allocations: 335.3 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.2387, allocations: 3.984 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.2387, allocations: 29.7 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.2391, allocations: 92.12 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2391, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2392, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2392, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004388/0.2396, allocations: 347.4 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2397, allocations: 12.03 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.2398, allocations: 0.9375 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2399, allocations: 168.4 kB / 0.9016 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2399, allocations: 384 / 0.9016 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.24, allocations: 8.312 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2401, allocations: 26.27 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2401, allocations: 4.188 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2402, allocations: 7.875 kB / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2402, allocations: 0 / 0.9017 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.2403, allocations: 4 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.2405, allocations: 153.7 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.374e-05/0.2406, allocations: 26.61 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.2406, allocations: 8.797 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.2407, allocations: 0 / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2407, allocations: 42.59 kB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.2407, allocations: 0 / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.241, allocations: 41.73 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.241, allocations: 55.44 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.2411, allocations: 93.86 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2411, allocations: 25.7 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.2412, allocations: 84.12 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.2412, allocations: 15.83 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2413, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.2414, allocations: 314.8 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.2414, allocations: 8.062 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.829e-05/0.2415, allocations: 4 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.2415, allocations: 4 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2415, allocations: 0 / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.2417, allocations: 37.69 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.2417, allocations: 8 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2417, allocations: 3.938 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2418, allocations: 0 / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2421, allocations: 8 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004216/0.2425, allocations: 0.59 MB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.2426, allocations: 3.906 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2426, allocations: 3.938 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2428, allocations: 117.8 kB / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.2428, allocations: 0 / 0.9033 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.243, allocations: 48.91 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.243, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.243, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.243, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2432, allocations: 153.6 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2432, allocations: 0 / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.2434, allocations: 15.94 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.2435, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2435, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003914/0.2439, allocations: 0.5978 MB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2439, allocations: 3.938 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.2441, allocations: 65.08 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.2441, allocations: 81.05 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.2442, allocations: 3.984 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.2442, allocations: 4.125 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.2443, allocations: 7.938 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.2443, allocations: 0 / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.2444, allocations: 75.28 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.61e-07/0.2444, allocations: 0 / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004273/0.2448, allocations: 12 kB / 0.9043 GB, free: 59.72 MB / 0.6042 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002598/0.2451, allocations: 107.2 kB / 0.9044 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.2455, allocations: 24.08 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2456, allocations: 0 / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.2458, allocations: 15.98 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2461, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.2465, allocations: 115 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.2467, allocations: 0.6733 MB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.2468, allocations: 4 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2468, allocations: 7.438 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.382e-06/0.2468, allocations: 0 / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.004522/0.2514, allocations: 413.8 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)