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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7405/0.7405, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 183.4 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009082/0.000908, allocations: 90.3 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001611/0.001611, allocations: 275.2 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004765, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3777, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.5095, allocations: 107.7 MB / 0.8446 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.5097, allocations: 71.95 kB / 0.8447 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0096/0.5194, allocations: 3.473 MB / 0.8481 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5194, allocations: 0 / 0.8481 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5194, allocations: 0 / 0.8481 GB, free: 14.98 MB / 0.5261 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.000288/0.5197, allocations: 339.5 kB / 0.8484 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5198, allocations: 12.03 kB / 0.8484 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.5198, allocations: 4.938 kB / 0.8484 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.5199, allocations: 164.3 kB / 0.8486 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.5199, allocations: 384 / 0.8486 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.5199, allocations: 4.375 kB / 0.8486 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.52, allocations: 34.19 kB / 0.8486 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.52, allocations: 192 / 0.8486 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.52, allocations: 3.938 kB / 0.8486 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5201, allocations: 4 kB / 0.8486 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.5201, allocations: 0 / 0.8486 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.5202, allocations: 161.6 kB / 0.8488 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.5203, allocations: 26.61 kB / 0.8488 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.5203, allocations: 8.922 kB / 0.8488 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5203, allocations: 3.938 kB / 0.8488 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5204, allocations: 30.56 kB / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5204, allocations: 0 / 0.8488 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.5205, allocations: 53.62 kB / 0.8489 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.5205, allocations: 51.41 kB / 0.8489 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.5206, allocations: 97.8 kB / 0.849 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.5206, allocations: 25.7 kB / 0.8491 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.5207, allocations: 84.14 kB / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5207, allocations: 3.906 kB / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.5207, allocations: 0 / 0.8491 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5208, allocations: 315.1 kB / 0.8494 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.5208, allocations: 8 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.5208, allocations: 3.938 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.5209, allocations: 16.86 kB / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5209, allocations: 0 / 0.8495 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.649e-05/0.5209, allocations: 37.7 kB / 0.8495 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.521, allocations: 7.984 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.521, allocations: 3.938 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.521, allocations: 0 / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.5212, allocations: 16.09 kB / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002964/0.5215, allocations: 0.5821 MB / 0.8501 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.5215, allocations: 8.016 kB / 0.8501 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.5215, allocations: 0 / 0.8501 GB, free: 12.66 MB / 0.5261 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 6.85e-05/0.5216, allocations: 109.8 kB / 0.8502 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-06/0.5216, allocations: 96 / 0.8502 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.5217, allocations: 52.75 kB / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5217, allocations: 4 kB / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5217, allocations: 0 / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5217, allocations: 0 / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.857e-05/0.5218, allocations: 157.6 kB / 0.8504 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5218, allocations: 0 / 0.8504 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.5219, allocations: 11.98 kB / 0.8504 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5219, allocations: 0 / 0.8504 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.5219, allocations: 0 / 0.8504 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002574/0.5222, allocations: 0.586 MB / 0.851 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5222, allocations: 3.938 kB / 0.851 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.316e-05/0.5223, allocations: 65.09 kB / 0.8511 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.5223, allocations: 85.05 kB / 0.8512 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.5223, allocations: 4.125 kB / 0.8512 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.5224, allocations: 0 / 0.8512 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.5224, allocations: 7.922 kB / 0.8512 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.5224, allocations: 0 / 0.8512 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.5224, allocations: 87.22 kB / 0.8512 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5224, allocations: 0 / 0.8512 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001914/0.5226, allocations: 12 kB / 0.8513 GB, free: 11.36 MB / 0.5261 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.0001528/0.5228, allocations: 117.8 kB / 0.8514 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.5229, allocations: 24.08 kB / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.523, allocations: 0 / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.523, allocations: 19.92 kB / 0.8514 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.5232, allocations: 7.562 kB / 0.8514 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.5235, allocations: 103.3 kB / 0.8515 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.5238, allocations: 0.6809 MB / 0.8522 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.5238, allocations: 3.906 kB / 0.8522 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.5238, allocations: 7.438 kB / 0.8522 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.5238, allocations: 0 / 0.8522 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.002229/0.526, allocations: 416.7 kB / 0.8526 GB, free: 9.945 MB / 0.5261 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)