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.7446/0.7446, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001155/0.001155, allocations: 180.2 kB / 173.7 MB, free: 6.125 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.5/1.5, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008713/0.0008711, allocations: 89.41 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 8.969 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 76.76 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.2823, allocations: 103.2 MB / 0.7361 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.2827, allocations: 83.94 kB / 0.7362 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.2939, allocations: 3.712 MB / 0.7399 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2939, allocations: 0 / 0.7399 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.294, allocations: 0 / 0.7399 GB, free: 3.34 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.0004186/0.2944, allocations: 343.3 kB / 0.7402 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2944, allocations: 8.031 kB / 0.7402 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2945, allocations: 30.56 kB / 0.7402 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.2945, allocations: 3.953 kB / 0.7402 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2947, allocations: 163.1 kB / 0.7404 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2947, allocations: 4 kB / 0.7404 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2947, allocations: 4 kB / 0.7404 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.2955, allocations: 125.5 kB / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2955, allocations: 0 / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2956, allocations: 0 / 0.7405 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2956, allocations: 7.891 kB / 0.7405 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.2962, allocations: 95.89 kB / 0.7406 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.2964, allocations: 157.6 kB / 0.7408 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.2971, allocations: 102.5 kB / 0.7409 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.2973, allocations: 97.16 kB / 0.7409 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2974, allocations: 34.56 kB / 0.741 GB, free: 2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2974, allocations: 0 / 0.741 GB, free: 2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.001416/0.2988, allocations: 213.5 kB / 0.7412 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2989, allocations: 55.44 kB / 0.7412 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.2989, allocations: 92.98 kB / 0.7413 GB, free: 1.621 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.299, allocations: 25.7 kB / 0.7413 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.299, allocations: 84.14 kB / 0.7414 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2991, allocations: 11.78 kB / 0.7414 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.2991, allocations: 0 / 0.7414 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2992, allocations: 318.8 kB / 0.7417 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2993, allocations: 24.11 kB / 0.7418 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2995, allocations: 23.97 kB / 0.7418 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2996, allocations: 20.05 kB / 0.7418 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2996, allocations: 0 / 0.7418 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003082/0.2999, allocations: 85.59 kB / 0.7419 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3, allocations: 4 kB / 0.7419 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3, allocations: 4 kB / 0.7419 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3, allocations: 0 / 0.7419 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.3016, allocations: 199.8 kB / 0.7421 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3273/0.6289, allocations: 1.678 MB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.629, allocations: 14.47 kB / 0.7437 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.6291, allocations: 5.766 kB / 0.7437 GB, free: 108.9 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 8.073e-05/0.6291, allocations: 110.5 kB / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.6292, allocations: 1.406 kB / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.6292, allocations: 7.453 kB / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.6292, allocations: 0 / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.6292, allocations: 4.875 kB / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6292, allocations: 0 / 0.7439 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.516e-05/0.6293, allocations: 160.3 kB / 0.744 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6293, allocations: 0 / 0.744 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.631, allocations: 216.7 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.631, allocations: 3.375 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.631, allocations: 2 kB / 0.7442 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.6348, allocations: 1.692 MB / 0.7459 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6348, allocations: 0.6875 kB / 0.7459 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.6351, allocations: 106.9 kB / 0.746 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.6351, allocations: 82.67 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.6352, allocations: 2.844 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.6352, allocations: 6.969 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.6353, allocations: 4.031 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.6353, allocations: 3.938 kB / 0.7461 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.477e-05/0.6353, allocations: 79.94 kB / 0.7462 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.6353, allocations: 1.531 kB / 0.7462 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002224/0.6356, allocations: 15.72 kB / 0.7462 GB, free: 107.1 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.0005366/0.6361, allocations: 0.6503 MB / 0.7468 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.6378, allocations: 223.4 kB / 0.747 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6378, allocations: 1.438 kB / 0.747 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.6394, allocations: 223.3 kB / 0.7472 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.6395, allocations: 1 kB / 0.7472 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.6414, allocations: 350.5 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.6415, allocations: 0.6749 MB / 0.7482 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.6415, allocations: 2.016 kB / 0.7482 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.6416, allocations: 7.938 kB / 0.7482 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.333e-06/0.6416, allocations: 0 / 0.7482 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.6557, allocations: 1.25 MB / 0.7495 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.6559, allocations: 249.4 kB / 0.7497 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.178, allocations: 4.266 kB / 0.7497 GB, free: 105.1 MB / 0.5105 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)