Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001079/0.001079, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 174.9 kB / 16.92 MB, free: 6.68 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 17 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 77.52 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001544/0.1399, allocations: 0.9692 MB / 0.561 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1409, allocations: 0.584 MB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.1409, allocations: 0 / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.141, allocations: 7.922 kB / 0.5616 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.911e-05/0.141, allocations: 0 / 0.5616 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1415, allocations: 119.6 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.1416, allocations: 19.86 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.1416, allocations: 3.984 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.1416, allocations: 4 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.639e-05/0.1417, allocations: 0 / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1417, allocations: 4 kB / 0.5617 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.1422, allocations: 339.3 kB / 0.562 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.1422, allocations: 3.984 kB / 0.562 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1423, allocations: 29.64 kB / 0.5621 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1425, allocations: 144 kB / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1426, allocations: 0 / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1426, allocations: 0 / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1426, allocations: 0 / 0.5622 GB, free: 6.691 MB / 430.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.0003608/0.1429, allocations: 351.4 kB / 0.5625 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.143, allocations: 12.02 kB / 0.5626 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.143, allocations: 30.75 kB / 0.5626 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.878e-05/0.143, allocations: 4.938 kB / 0.5626 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1432, allocations: 168.3 kB / 0.5627 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.1432, allocations: 4.375 kB / 0.5627 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.1432, allocations: 384 / 0.5627 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.1433, allocations: 34.27 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1433, allocations: 3.938 kB / 0.5628 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1433, allocations: 3.984 kB / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1433, allocations: 0 / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.1434, allocations: 7.938 kB / 0.5628 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1435, allocations: 153.6 kB / 0.5629 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.1436, allocations: 26.59 kB / 0.563 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.1436, allocations: 8.922 kB / 0.563 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1437, allocations: 0 / 0.563 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1437, allocations: 30.56 kB / 0.563 GB, free: 5.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.1437, allocations: 0 / 0.563 GB, free: 5.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001584/0.1439, allocations: 49.58 kB / 0.5631 GB, free: 5.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1439, allocations: 51.41 kB / 0.5631 GB, free: 5.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.144, allocations: 102 kB / 0.5632 GB, free: 5.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.144, allocations: 29.7 kB / 0.5632 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.1441, allocations: 80.14 kB / 0.5633 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1441, allocations: 3.906 kB / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1441, allocations: 9.719 kB / 0.5633 GB, free: 5.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1443, allocations: 310.8 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.1443, allocations: 8 kB / 0.5636 GB, free: 5.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.1443, allocations: 4.109 kB / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.1444, allocations: 16.92 kB / 0.5636 GB, free: 4.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1444, allocations: 0 / 0.5636 GB, free: 4.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.106e-05/0.1444, allocations: 41.64 kB / 0.5637 GB, free: 4.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1445, allocations: 9.812 kB / 0.5637 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1445, allocations: 3.938 kB / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1445, allocations: 0 / 0.5637 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1447, allocations: 11.98 kB / 0.5637 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004408/0.1451, allocations: 0.5861 MB / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.1452, allocations: 0 / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1452, allocations: 0 / 0.5643 GB, free: 4.309 MB / 430.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.412e-05/0.1453, allocations: 113.7 kB / 0.5644 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1453, allocations: 8 kB / 0.5644 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1454, allocations: 44.81 kB / 0.5644 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1454, allocations: 4.125 kB / 0.5644 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1454, allocations: 0 / 0.5644 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1454, allocations: 0 / 0.5644 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1456, allocations: 153.6 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1456, allocations: 0 / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.1457, allocations: 11.98 kB / 0.5646 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1457, allocations: 0 / 0.5646 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1457, allocations: 0 / 0.5646 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003387/0.146, allocations: 0.5898 MB / 0.5652 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.146, allocations: 3.938 kB / 0.5652 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.1461, allocations: 69.16 kB / 0.5652 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1462, allocations: 81.09 kB / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1462, allocations: 4 kB / 0.5653 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.379e-05/0.1462, allocations: 3.938 kB / 0.5653 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1462, allocations: 4.062 kB / 0.5653 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.1462, allocations: 12 kB / 0.5653 GB, free: 3.094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.1463, allocations: 75.28 kB / 0.5654 GB, free: 3.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1463, allocations: 0 / 0.5654 GB, free: 3.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1465, allocations: 19.92 kB / 0.5654 GB, free: 3 MB / 430.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.0004124/0.1469, allocations: 0.6086 MB / 0.566 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1471, allocations: 19.98 kB / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1471, allocations: 0 / 0.566 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/0.1472, allocations: 19.92 kB / 0.5661 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1473, allocations: 3.938 kB / 0.5661 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.1477, allocations: 148.9 kB / 0.5662 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.148, allocations: 0.677 MB / 0.5669 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.148, allocations: 0 / 0.5669 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.148, allocations: 7.438 kB / 0.5669 GB, free: 1.422 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.148, allocations: 0 / 0.5669 GB, free: 1.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.159, allocations: 1.152 MB / 0.568 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.1592, allocations: 266.7 kB / 0.5683 GB, free: 164 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.881, allocations: 0 / 0.5683 GB, free: 164 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)