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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8889/0.8889, allocations: 128.8 MB / 143.7 MB, free: 2.305 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.001128/0.001128, allocations: 200.7 kB / 173.8 MB, free: 6.105 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.54/1.54, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009168/0.0009165, allocations: 90.55 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 8.062 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.2906, allocations: 103.2 MB / 0.7361 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.2908, allocations: 83.94 kB / 0.7362 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01051/0.3014, allocations: 3.7 MB / 0.7398 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3014, allocations: 0 / 0.7398 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3014, allocations: 0 / 0.7398 GB, free: 3.449 MB / 0.5105 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.000341/0.3018, allocations: 335.3 kB / 0.7401 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3018, allocations: 12.03 kB / 0.7401 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.3019, allocations: 7.891 kB / 0.7401 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.302, allocations: 171.1 kB / 0.7403 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.302, allocations: 0 / 0.7403 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.302, allocations: 3.984 kB / 0.7403 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007945/0.3028, allocations: 113.6 kB / 0.7404 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3029, allocations: 0 / 0.7404 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3029, allocations: 0 / 0.7404 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3029, allocations: 0 / 0.7404 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.3035, allocations: 107.8 kB / 0.7405 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.3038, allocations: 149.7 kB / 0.7406 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.3044, allocations: 110.5 kB / 0.7407 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.3047, allocations: 97.16 kB / 0.7408 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3047, allocations: 30.56 kB / 0.7409 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 4.097e-06/0.3047, allocations: 3.984 kB / 0.7409 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.001391/0.3061, allocations: 221.4 kB / 0.7411 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3062, allocations: 55.41 kB / 0.7411 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.3063, allocations: 85 kB / 0.7412 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3063, allocations: 29.7 kB / 0.7412 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.3063, allocations: 80.14 kB / 0.7413 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.3064, allocations: 7.938 kB / 0.7413 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.3064, allocations: 0 / 0.7413 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3065, allocations: 315 kB / 0.7416 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3067, allocations: 27.97 kB / 0.7416 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3068, allocations: 19.98 kB / 0.7417 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3069, allocations: 27.98 kB / 0.7417 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.307, allocations: 4 kB / 0.7417 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000285/0.3072, allocations: 85.5 kB / 0.7418 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3073, allocations: 4 kB / 0.7418 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3073, allocations: 0 / 0.7418 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3073, allocations: 3.984 kB / 0.7418 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.3089, allocations: 199.8 kB / 0.742 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3206/0.6295, allocations: 1.68 MB / 0.7436 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.6297, allocations: 12.53 kB / 0.7436 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6297, allocations: 3.609 kB / 0.7436 GB, free: 109 MB / 0.5105 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 7.771e-05/0.6298, allocations: 111.5 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.6298, allocations: 5.875 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.6298, allocations: 4.938 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6298, allocations: 0 / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.6298, allocations: 2.469 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6298, allocations: 0 / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.599e-05/0.6299, allocations: 158.7 kB / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6299, allocations: 0 / 0.7439 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.6316, allocations: 221.6 kB / 0.7441 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6316, allocations: 0 / 0.7441 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6316, allocations: 2.75 kB / 0.7441 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.6355, allocations: 1.689 MB / 0.7458 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6356, allocations: 1.281 kB / 0.7458 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.6359, allocations: 107.3 kB / 0.7459 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.6359, allocations: 77.11 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.636, allocations: 7.594 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.636, allocations: 6.906 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.6361, allocations: 4.25 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.6361, allocations: 480 / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.6361, allocations: 83.97 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6361, allocations: 0 / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002244/0.6364, allocations: 10.84 kB / 0.746 GB, free: 107.2 MB / 0.5105 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.0001369/0.6365, allocations: 118.9 kB / 0.7462 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.6382, allocations: 229.7 kB / 0.7464 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6382, allocations: 0.625 kB / 0.7464 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.6398, allocations: 216.5 kB / 0.7466 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.6399, allocations: 4.688 kB / 0.7466 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.6416, allocations: 306.7 kB / 0.7469 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.6417, allocations: 0.6835 MB / 0.7476 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.6418, allocations: 3.906 kB / 0.7476 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.196e-05/0.6418, allocations: 7.438 kB / 0.7476 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.6418, allocations: 0 / 0.7476 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.002171/0.644, allocations: 0.5103 MB / 0.7481 GB, free: 106.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)