Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 104.2 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 196 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7706/0.7706, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 67.38 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2074, allocations: 77.93 MB / 0.6441 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003208/0.2107, allocations: 1.234 MB / 0.6453 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2122, allocations: 0.5919 MB / 0.6458 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.2122, allocations: 0 / 0.6458 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.2123, allocations: 0 / 0.6458 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.2123, allocations: 3.938 kB / 0.6458 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.2131, allocations: 147.3 kB / 0.646 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.2132, allocations: 7.938 kB / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.2132, allocations: 7.984 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.906e-05/0.2133, allocations: 0 / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.2133, allocations: 7.984 kB / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2133, allocations: 0 / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.2141, allocations: 335.4 kB / 0.6463 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2141, allocations: 3.938 kB / 0.6463 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.2142, allocations: 8 kB / 0.6463 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.2145, allocations: 147.8 kB / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2145, allocations: 0 / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2146, allocations: 4 kB / 0.6465 GB, free: 7.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.2146, allocations: 0 / 0.6465 GB, free: 7.039 MB / 494.1 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.0004842/0.2151, allocations: 355.1 kB / 0.6468 GB, free: 6.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.2151, allocations: 8.625 kB / 0.6468 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.2152, allocations: 38.69 kB / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.2152, allocations: 4.922 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2154, allocations: 160.4 kB / 0.647 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2154, allocations: 384 / 0.647 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2154, allocations: 8.375 kB / 0.647 GB, free: 6.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2155, allocations: 30.27 kB / 0.6471 GB, free: 6.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2156, allocations: 3.938 kB / 0.6471 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2156, allocations: 0 / 0.6471 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2156, allocations: 4 kB / 0.6471 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.2156, allocations: 3.984 kB / 0.6471 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.2158, allocations: 149.7 kB / 0.6472 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.2159, allocations: 22.55 kB / 0.6472 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.216, allocations: 20.91 kB / 0.6473 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.216, allocations: 0 / 0.6473 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.216, allocations: 34.56 kB / 0.6473 GB, free: 6.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.216, allocations: 0 / 0.6473 GB, free: 6.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001662/0.2162, allocations: 45.64 kB / 0.6473 GB, free: 5.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2163, allocations: 55.34 kB / 0.6474 GB, free: 5.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.2164, allocations: 102 kB / 0.6475 GB, free: 5.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2164, allocations: 25.7 kB / 0.6475 GB, free: 5.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.2165, allocations: 80.14 kB / 0.6476 GB, free: 5.699 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2165, allocations: 7.891 kB / 0.6476 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.2165, allocations: 17.72 kB / 0.6476 GB, free: 5.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2167, allocations: 310.8 kB / 0.6479 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.2167, allocations: 0 / 0.6479 GB, free: 5.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.2167, allocations: 4 kB / 0.6479 GB, free: 5.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2168, allocations: 24.97 kB / 0.6479 GB, free: 5.324 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2168, allocations: 0 / 0.6479 GB, free: 5.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.792e-05/0.2169, allocations: 45.59 kB / 0.648 GB, free: 5.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2169, allocations: 7.938 kB / 0.648 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2169, allocations: 0 / 0.648 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.217, allocations: 0 / 0.648 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.2172, allocations: 11.98 kB / 0.648 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004911/0.2177, allocations: 0.5861 MB / 0.6486 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.2177, allocations: 0 / 0.6486 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.2177, allocations: 0 / 0.6486 GB, free: 4.645 MB / 494.1 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 () * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.2178, allocations: 113.8 kB / 0.6487 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2179, allocations: 0 / 0.6487 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.218, allocations: 48.75 kB / 0.6487 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.218, allocations: 0 / 0.6487 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.218, allocations: 4.125 kB / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2181, allocations: 0 / 0.6487 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2182, allocations: 157.6 kB / 0.6489 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2182, allocations: 0 / 0.6489 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2184, allocations: 11.98 kB / 0.6489 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2184, allocations: 0 / 0.6489 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2184, allocations: 0 / 0.6489 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/0.2188, allocations: 0.5899 MB / 0.6495 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.2188, allocations: 8.031 kB / 0.6495 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.219, allocations: 66.22 kB / 0.6495 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.219, allocations: 81.05 kB / 0.6496 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2191, allocations: 0 / 0.6496 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.2191, allocations: 4 kB / 0.6496 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.2191, allocations: 3.938 kB / 0.6496 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2191, allocations: 0 / 0.6496 GB, free: 3.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.2192, allocations: 83.31 kB / 0.6497 GB, free: 3.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.765e-06/0.2192, allocations: 0 / 0.6497 GB, free: 3.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.2196, allocations: 11.94 kB / 0.6497 GB, free: 3.348 MB / 494.1 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 () * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005789/0.2201, allocations: 0.6125 MB / 0.6503 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.2204, allocations: 19.98 kB / 0.6503 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2204, allocations: 0 / 0.6503 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2206, allocations: 15.98 kB / 0.6503 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.2208, allocations: 8.875 kB / 0.6504 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.2216, allocations: 151.5 kB / 0.6505 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.222, allocations: 0.6769 MB / 0.6512 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2221, allocations: 3.984 kB / 0.6512 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.2221, allocations: 11.44 kB / 0.6512 GB, free: 1.754 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2221, allocations: 0 / 0.6512 GB, free: 1.754 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.2482, allocations: 1.366 MB / 0.6525 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 3.984 kB / 0.6525 GB, free: 0.5742 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)