Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6825/0.6825, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.8 kB / 164.7 MB, free: 6.535 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 94.45 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.629e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1579, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/0.6876, allocations: 102.7 MB / 0.7219 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.6879, allocations: 82.31 kB / 0.722 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01024/0.6982, allocations: 3.674 MB / 0.7256 GB, free: 9.555 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6982, allocations: 0 / 0.7256 GB, free: 9.555 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.6982, allocations: 0 / 0.7256 GB, free: 9.555 MB / 490.7 MB 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.000261/0.6985, allocations: 346.1 kB / 0.7259 GB, free: 9.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6986, allocations: 12.03 kB / 0.7259 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.6986, allocations: 3.953 kB / 0.7259 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.6987, allocations: 167.1 kB / 0.7261 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6987, allocations: 0 / 0.7261 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.6987, allocations: 3.938 kB / 0.7261 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.907e-05/0.6988, allocations: 4 kB / 0.7261 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.504e-05/0.6989, allocations: 33.2 kB / 0.7261 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6989, allocations: 4 kB / 0.7262 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.6989, allocations: 0 / 0.7262 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6989, allocations: 3.953 kB / 0.7262 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.699, allocations: 134.2 kB / 0.7263 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.6991, allocations: 22.36 kB / 0.7263 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.6991, allocations: 8.922 kB / 0.7263 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.6993, allocations: 93.09 kB / 0.7264 GB, free: 8.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.6994, allocations: 34.56 kB / 0.7264 GB, free: 8.547 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6994, allocations: 0 / 0.7264 GB, free: 8.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006145/0.7, allocations: 108.6 kB / 0.7265 GB, free: 8.438 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.7, allocations: 52.34 kB / 0.7266 GB, free: 8.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.7001, allocations: 85 kB / 0.7267 GB, free: 8.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7001, allocations: 29.64 kB / 0.7267 GB, free: 8.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.7002, allocations: 87.77 kB / 0.7268 GB, free: 8.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.7002, allocations: 8.844 kB / 0.7268 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.7002, allocations: 0 / 0.7268 GB, free: 8.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7003, allocations: 314.8 kB / 0.7271 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.7003, allocations: 7.812 kB / 0.7271 GB, free: 7.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.7004, allocations: 7.984 kB / 0.7271 GB, free: 7.828 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.172e-05/0.7004, allocations: 4 kB / 0.7271 GB, free: 7.824 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7004, allocations: 3.938 kB / 0.7271 GB, free: 7.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.313e-05/0.7005, allocations: 41.06 kB / 0.7272 GB, free: 7.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.7005, allocations: 12.09 kB / 0.7272 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.7005, allocations: 0 / 0.7272 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.7005, allocations: 0 / 0.7272 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.7019, allocations: 202.9 kB / 0.7274 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.7045, allocations: 1.47 MB / 0.7288 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.7046, allocations: 20.09 kB / 0.7288 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.7046, allocations: 0 / 0.7288 GB, free: 5.992 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: dp:VARIABLE(unit = "Pa" ) "Pressure difference" type: Real 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 0.0001223/0.7047, allocations: 104.9 kB / 0.7289 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.65e-05/0.7048, allocations: 44.94 kB / 0.729 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.7048, allocations: 0 / 0.729 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.309e-05/0.7048, allocations: 3.75 kB / 0.729 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7048, allocations: 11.97 kB / 0.729 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.7048, allocations: 0 / 0.729 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7048, allocations: 0 / 0.729 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.7049, allocations: 136.9 kB / 0.7291 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7049, allocations: 0 / 0.7291 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.7063, allocations: 226.6 kB / 0.7293 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7063, allocations: 0 / 0.7293 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.7063, allocations: 0 / 0.7293 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.7087, allocations: 1.466 MB / 0.7307 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7088, allocations: 0 / 0.7307 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.7089, allocations: 68.92 kB / 0.7308 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.7089, allocations: 77.11 kB / 0.7309 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.7089, allocations: 8.062 kB / 0.7309 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.709, allocations: 11.98 kB / 0.7309 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.709, allocations: 7.984 kB / 0.7309 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.709, allocations: 0 / 0.7309 GB, free: 3.668 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.905e-05/0.7091, allocations: 78.66 kB / 0.731 GB, free: 3.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7091, allocations: 0 / 0.731 GB, free: 3.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.7093, allocations: 12 kB / 0.731 GB, free: 3.582 MB / 490.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 (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.0003508/0.7096, allocations: 0.6138 MB / 0.7316 GB, free: 2.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.7109, allocations: 202.5 kB / 0.7318 GB, free: 2.754 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7109, allocations: 4 kB / 0.7318 GB, free: 2.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.7122, allocations: 195.8 kB / 0.732 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.7123, allocations: 1.281 kB / 0.732 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.7137, allocations: 265 kB / 0.7322 GB, free: 2.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.7139, allocations: 0.6768 MB / 0.7329 GB, free: 1.562 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.7139, allocations: 7.938 kB / 0.7329 GB, free: 1.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.714, allocations: 11.44 kB / 0.7329 GB, free: 1.543 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.714, allocations: 0 / 0.7329 GB, free: 1.543 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.7306, allocations: 0.8226 MB / 0.7337 GB, free: 0.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.7308, allocations: 179.2 kB / 0.7339 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.392, allocations: 3.125 kB / 0.7339 GB, free: 0.5625 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)