Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8044/0.8044, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 178.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 92.94 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 268.1 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.376e-05, allocations: 8 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5253, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.6478, allocations: 109.1 MB / 0.8709 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.6481, allocations: 87.81 kB / 0.8709 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.6581, allocations: 3.493 MB / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6581, allocations: 0 / 0.8744 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.6582, allocations: 0 / 0.8744 GB, free: 11.83 MB / 0.5417 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.0003046/0.6585, allocations: 335.8 kB / 0.8747 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6585, allocations: 8.031 kB / 0.8747 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.6586, allocations: 4 kB / 0.8747 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6587, allocations: 163 kB / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.6587, allocations: 0 / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.6587, allocations: 0 / 0.8748 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.6588, allocations: 41.62 kB / 0.8749 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.6588, allocations: 0 / 0.8749 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.6589, allocations: 4 kB / 0.8749 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6589, allocations: 4 kB / 0.8749 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.6589, allocations: 0 / 0.8749 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.6591, allocations: 149.7 kB / 0.875 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.31e-05/0.6591, allocations: 26.55 kB / 0.8751 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.6592, allocations: 8.922 kB / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.6592, allocations: 0 / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6592, allocations: 50.48 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6592, allocations: 3.938 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.6594, allocations: 29.7 kB / 0.8751 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.6594, allocations: 55.41 kB / 0.8752 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.6595, allocations: 85 kB / 0.8753 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.6595, allocations: 29.7 kB / 0.8753 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.6596, allocations: 84.12 kB / 0.8754 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.6596, allocations: 12.06 kB / 0.8754 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.6596, allocations: 0 / 0.8754 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6597, allocations: 310.8 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.6598, allocations: 4 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.6598, allocations: 0 / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.684e-05/0.6598, allocations: 8 kB / 0.8757 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6598, allocations: 0 / 0.8757 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.277e-05/0.6599, allocations: 45.58 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.6599, allocations: 4.094 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.6599, allocations: 4 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.6599, allocations: 0 / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.6601, allocations: 8 kB / 0.8758 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003858/0.6605, allocations: 0.5859 MB / 0.8763 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.6605, allocations: 3.984 kB / 0.8763 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6605, allocations: 4 kB / 0.8763 GB, free: 9.555 MB / 0.5417 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 () * 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 7.593e-05/0.6606, allocations: 120.9 kB / 0.8765 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.6606, allocations: 4.031 kB / 0.8765 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.6607, allocations: 40.81 kB / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6607, allocations: 0 / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6608, allocations: 0 / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6608, allocations: 0 / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6609, allocations: 153.6 kB / 0.8767 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6609, allocations: 0 / 0.8767 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.661, allocations: 11.98 kB / 0.8767 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.661, allocations: 4.031 kB / 0.8767 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.661, allocations: 0 / 0.8767 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003307/0.6613, allocations: 0.5821 MB / 0.8772 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6614, allocations: 0 / 0.8772 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.6614, allocations: 73.2 kB / 0.8773 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.6615, allocations: 81.02 kB / 0.8774 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.6615, allocations: 3.938 kB / 0.8774 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.6615, allocations: 0 / 0.8774 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.6616, allocations: 4 kB / 0.8774 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.6616, allocations: 7.984 kB / 0.8774 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.337e-05/0.6616, allocations: 75.28 kB / 0.8775 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6616, allocations: 0 / 0.8775 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001989/0.6618, allocations: 19.89 kB / 0.8775 GB, free: 8.266 MB / 0.5417 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 () * 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.0001901/0.662, allocations: 119.3 kB / 0.8776 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6622, allocations: 12 kB / 0.8776 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6622, allocations: 0 / 0.8776 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.6623, allocations: 15.98 kB / 0.8776 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.6624, allocations: 7.188 kB / 0.8776 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.6626, allocations: 57.86 kB / 0.8777 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.6628, allocations: 0.677 MB / 0.8784 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.961e-05/0.6629, allocations: 3.984 kB / 0.8784 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.6629, allocations: 11.44 kB / 0.8784 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.6629, allocations: 0 / 0.8784 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of Templates: time 0.002314/0.6652, allocations: 420.1 kB / 0.8788 GB, free: 6.934 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)