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.7215/0.7215, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001136/0.001136, allocations: 183.8 kB / 169.7 MB, free: 1.746 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.656/1.656, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0009047/0.0009046, allocations: 86.47 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.852e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.151, allocations: 76.75 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.6626, allocations: 103.1 MB / 0.7289 GB, free: 10.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.663, allocations: 89.86 kB / 0.729 GB, free: 10.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.6737, allocations: 3.7 MB / 0.7326 GB, free: 7.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6737, allocations: 0 / 0.7326 GB, free: 7.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.6737, allocations: 0 / 0.7326 GB, free: 7.109 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.0003272/0.674, allocations: 338.4 kB / 0.7329 GB, free: 6.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6741, allocations: 8.031 kB / 0.7329 GB, free: 6.727 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.6741, allocations: 30.56 kB / 0.733 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.6742, allocations: 7.516 kB / 0.733 GB, free: 6.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6743, allocations: 163.1 kB / 0.7331 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.6744, allocations: 7.875 kB / 0.7331 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.6744, allocations: 4 kB / 0.7331 GB, free: 6.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.675, allocations: 105.5 kB / 0.7332 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.675, allocations: 3.984 kB / 0.7332 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.675, allocations: 0 / 0.7332 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.675, allocations: 3.953 kB / 0.7333 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.6755, allocations: 75.91 kB / 0.7333 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.6757, allocations: 144.8 kB / 0.7335 GB, free: 6.098 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.6762, allocations: 102.2 kB / 0.7336 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.6762, allocations: 12.92 kB / 0.7336 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.6765, allocations: 97.09 kB / 0.7337 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6765, allocations: 30.56 kB / 0.7337 GB, free: 5.824 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.6765, allocations: 0 / 0.7337 GB, free: 5.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0009958/0.6775, allocations: 176.3 kB / 0.7339 GB, free: 5.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6776, allocations: 55.39 kB / 0.7339 GB, free: 5.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.6777, allocations: 92.95 kB / 0.734 GB, free: 5.488 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.6777, allocations: 25.7 kB / 0.734 GB, free: 5.457 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.6777, allocations: 84.3 kB / 0.7341 GB, free: 5.371 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.6778, allocations: 11.75 kB / 0.7341 GB, free: 5.363 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.6778, allocations: 0 / 0.7341 GB, free: 5.363 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6779, allocations: 310.8 kB / 0.7344 GB, free: 5.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.6779, allocations: 7.812 kB / 0.7344 GB, free: 5.047 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.678, allocations: 7.938 kB / 0.7344 GB, free: 5.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.678, allocations: 7.984 kB / 0.7344 GB, free: 5.031 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.678, allocations: 0 / 0.7344 GB, free: 5.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.641e-05/0.6781, allocations: 48.88 kB / 0.7345 GB, free: 4.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6781, allocations: 4.781 kB / 0.7345 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6781, allocations: 0 / 0.7345 GB, free: 4.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6782, allocations: 3.938 kB / 0.7345 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.6796, allocations: 203.2 kB / 0.7347 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.6823, allocations: 1.517 MB / 0.7362 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.6824, allocations: 11.97 kB / 0.7362 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.6824, allocations: 4 kB / 0.7362 GB, free: 3.141 MB / 490.7 MB 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.174e-05/0.6825, allocations: 101.3 kB / 0.7363 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.6825, allocations: 3.906 kB / 0.7363 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.6826, allocations: 3.125 kB / 0.7363 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6826, allocations: 7.938 kB / 0.7363 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.6826, allocations: 4.062 kB / 0.7363 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6826, allocations: 3.984 kB / 0.7363 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.6827, allocations: 157.5 kB / 0.7365 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6827, allocations: 0 / 0.7365 GB, free: 2.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.6841, allocations: 215.6 kB / 0.7367 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6841, allocations: 0 / 0.7367 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.6841, allocations: 0 / 0.7367 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.6868, allocations: 1.523 MB / 0.7381 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6868, allocations: 0 / 0.7381 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.6869, allocations: 72.42 kB / 0.7382 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.687, allocations: 81.09 kB / 0.7383 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.687, allocations: 4 kB / 0.7383 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.6871, allocations: 15.56 kB / 0.7383 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.6871, allocations: 7.984 kB / 0.7383 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.6871, allocations: 0 / 0.7383 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.6872, allocations: 75.28 kB / 0.7384 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6872, allocations: 0 / 0.7384 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.6874, allocations: 12 kB / 0.7384 GB, free: 0.6797 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.0004505/0.6879, allocations: 0.6226 MB / 0.739 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.6892, allocations: 195.3 kB / 0.7392 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6892, allocations: 0 / 0.7392 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.6904, allocations: 203 kB / 0.7394 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.6905, allocations: 3.938 kB / 0.7394 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.692, allocations: 273.9 kB / 0.7397 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.6922, allocations: 0.6809 MB / 0.7403 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.6922, allocations: 0 / 0.7403 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.6922, allocations: 11.44 kB / 0.7403 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.6923, allocations: 4 kB / 0.7403 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.7057, allocations: 1.23 MB / 0.7415 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.7059, allocations: 216 kB / 0.7417 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.266, allocations: 0 / 0.7417 GB, free: 13.41 MB / 0.4948 GB (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)