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.0008587/0.0008586, allocations: 92.09 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.0009787/0.0009787, allocations: 184.8 kB / 16.92 MB, free: 6.891 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7036/0.7036, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 12 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 77.54 MB / 0.5601 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001197/0.1397, allocations: 0.9652 MB / 0.561 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.1406, allocations: 0.5879 MB / 0.5616 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.1406, allocations: 4 kB / 0.5616 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.1407, allocations: 3.938 kB / 0.5616 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.1407, allocations: 0 / 0.5616 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1411, allocations: 111.6 kB / 0.5617 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.078e-05/0.1412, allocations: 15.92 kB / 0.5617 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.313e-05/0.1412, allocations: 7.922 kB / 0.5617 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.1412, allocations: 4 kB / 0.5617 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.493e-05/0.1412, allocations: 11.98 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.1412, allocations: 0 / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.1417, allocations: 335.3 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.1417, allocations: 8 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1418, allocations: 33.62 kB / 0.5621 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.142, allocations: 140 kB / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.142, allocations: 0 / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.142, allocations: 0 / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1421, allocations: 0 / 0.5622 GB, free: 6.754 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.0003605/0.1424, allocations: 351.4 kB / 0.5625 GB, free: 6.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1425, allocations: 12.03 kB / 0.5626 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1425, allocations: 30.75 kB / 0.5626 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.785e-05/0.1425, allocations: 4.875 kB / 0.5626 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1426, allocations: 168.3 kB / 0.5628 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1427, allocations: 4.375 kB / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.1427, allocations: 384 / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.1428, allocations: 34.25 kB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.1428, allocations: 3.938 kB / 0.5628 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1428, allocations: 0 / 0.5628 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1428, allocations: 4 kB / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.1428, allocations: 7.938 kB / 0.5628 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.143, allocations: 149.7 kB / 0.5629 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.1431, allocations: 22.56 kB / 0.563 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.1431, allocations: 12.92 kB / 0.563 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1431, allocations: 0 / 0.563 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1432, allocations: 34.56 kB / 0.563 GB, free: 5.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1432, allocations: 0 / 0.563 GB, free: 5.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.1434, allocations: 49.56 kB / 0.5631 GB, free: 5.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1434, allocations: 55.41 kB / 0.5631 GB, free: 5.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.1435, allocations: 89.86 kB / 0.5632 GB, free: 5.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1435, allocations: 25.7 kB / 0.5632 GB, free: 5.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1436, allocations: 80.14 kB / 0.5633 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1436, allocations: 7.906 kB / 0.5633 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.1436, allocations: 17.97 kB / 0.5633 GB, free: 5.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1438, allocations: 314.8 kB / 0.5636 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.1438, allocations: 4 kB / 0.5636 GB, free: 5.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.1438, allocations: 0 / 0.5636 GB, free: 5.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.1439, allocations: 12.86 kB / 0.5636 GB, free: 5.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1439, allocations: 0 / 0.5636 GB, free: 5.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.64e-05/0.1439, allocations: 41.64 kB / 0.5637 GB, free: 5.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.144, allocations: 9.812 kB / 0.5637 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.144, allocations: 4.094 kB / 0.5637 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.144, allocations: 3.938 kB / 0.5637 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1442, allocations: 11.98 kB / 0.5637 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/0.1446, allocations: 0.5782 MB / 0.5643 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.1446, allocations: 4 kB / 0.5643 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1447, allocations: 4.031 kB / 0.5643 GB, free: 4.375 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.754e-05/0.1448, allocations: 118.7 kB / 0.5644 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1448, allocations: 3.938 kB / 0.5644 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1449, allocations: 40.83 kB / 0.5644 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1449, allocations: 0 / 0.5644 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1449, allocations: 7.984 kB / 0.5644 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1449, allocations: 0 / 0.5644 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.145, allocations: 149.6 kB / 0.5646 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1451, allocations: 3.938 kB / 0.5646 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.1451, allocations: 20.02 kB / 0.5646 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1452, allocations: 4 kB / 0.5646 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.1452, allocations: 0 / 0.5646 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003311/0.1455, allocations: 0.5859 MB / 0.5652 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.1455, allocations: 3.938 kB / 0.5652 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.315e-05/0.1456, allocations: 69.25 kB / 0.5653 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.1457, allocations: 81.11 kB / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.1457, allocations: 0 / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.1457, allocations: 0 / 0.5653 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1457, allocations: 3.938 kB / 0.5653 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1457, allocations: 0 / 0.5653 GB, free: 3.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.1458, allocations: 83.27 kB / 0.5654 GB, free: 3.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1458, allocations: 0 / 0.5654 GB, free: 3.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.146, allocations: 15.94 kB / 0.5654 GB, free: 3.074 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.0004111/0.1464, allocations: 0.6087 MB / 0.566 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1465, allocations: 15.98 kB / 0.566 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1466, allocations: 0 / 0.566 GB, free: 2.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.1466, allocations: 24.02 kB / 0.5661 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1468, allocations: 7.938 kB / 0.5661 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1472, allocations: 148.7 kB / 0.5662 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1475, allocations: 0.6692 MB / 0.5669 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.1475, allocations: 4 kB / 0.5669 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.1475, allocations: 11.5 kB / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1475, allocations: 0 / 0.5669 GB, free: 1.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1584, allocations: 1.132 MB / 0.568 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.1586, allocations: 259.9 kB / 0.5682 GB, free: 300 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/1.839, allocations: 4 kB / 0.5682 GB, free: 296 kB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)