Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_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.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001327/0.001327, allocations: 196 kB / 16.14 MB, free: 6.695 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9091/0.9091, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1356, allocations: 82.04 MB / 0.5937 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002122/0.1378, allocations: 1.313 MB / 0.595 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.1387, allocations: 0.6112 MB / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.1387, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.1387, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.1388, allocations: 0 / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1392, allocations: 125 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.358e-05/0.1392, allocations: 7.938 kB / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.1393, allocations: 0 / 0.5957 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1393, allocations: 4 kB / 0.5957 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.1393, allocations: 15.92 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1393, allocations: 0 / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.1398, allocations: 339.3 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.1398, allocations: 3.984 kB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1398, allocations: 4 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.14, allocations: 143.9 kB / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.14, allocations: 0 / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.14, allocations: 4 kB / 0.5962 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1401, allocations: 4 kB / 0.5962 GB, free: 7.371 MB / 0.4981 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.0003154/0.1404, allocations: 343.5 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1404, allocations: 8.031 kB / 0.5966 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1405, allocations: 34.75 kB / 0.5966 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.1405, allocations: 4.844 kB / 0.5966 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.1406, allocations: 164.4 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1406, allocations: 384 / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1406, allocations: 4.359 kB / 0.5968 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.1407, allocations: 34.27 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1407, allocations: 11.86 kB / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1407, allocations: 3.938 kB / 0.5968 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1407, allocations: 0 / 0.5968 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.1408, allocations: 4 kB / 0.5968 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.1409, allocations: 157.7 kB / 0.597 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.1409, allocations: 22.58 kB / 0.597 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.141, allocations: 8.859 kB / 0.597 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.141, allocations: 4.062 kB / 0.597 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.141, allocations: 30.56 kB / 0.597 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.577e-06/0.141, allocations: 0 / 0.597 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001104/0.1411, allocations: 53.5 kB / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1412, allocations: 51.41 kB / 0.5971 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.585e-05/0.1412, allocations: 97.98 kB / 0.5972 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1412, allocations: 25.7 kB / 0.5973 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.1413, allocations: 84.14 kB / 0.5973 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1413, allocations: 7.906 kB / 0.5973 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1413, allocations: 13.7 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1414, allocations: 314.8 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.1414, allocations: 4 kB / 0.5977 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.1414, allocations: 4 kB / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.1415, allocations: 16.98 kB / 0.5977 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1415, allocations: 0 / 0.5977 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.718e-05/0.1415, allocations: 41.69 kB / 0.5977 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1416, allocations: 7.938 kB / 0.5977 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1416, allocations: 0 / 0.5977 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.1416, allocations: 0 / 0.5977 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1417, allocations: 8 kB / 0.5977 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003017/0.142, allocations: 0.5938 MB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1421, allocations: 0 / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1421, allocations: 0 / 0.5983 GB, free: 4.984 MB / 0.4981 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 (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 5.762e-05/0.1421, allocations: 109.8 kB / 0.5984 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.1421, allocations: 7.906 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.1422, allocations: 44.81 kB / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1422, allocations: 0 / 0.5985 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1422, allocations: 4.125 kB / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1423, allocations: 0 / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.495e-05/0.1423, allocations: 157.6 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1423, allocations: 0 / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.1424, allocations: 11.94 kB / 0.5986 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1424, allocations: 0 / 0.5986 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1424, allocations: 0 / 0.5986 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002496/0.1427, allocations: 0.586 MB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1427, allocations: 8.031 kB / 0.5992 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.914e-05/0.1428, allocations: 61.17 kB / 0.5993 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1428, allocations: 77.11 kB / 0.5993 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.1428, allocations: 3.984 kB / 0.5993 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.1429, allocations: 3.938 kB / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1429, allocations: 11.88 kB / 0.5994 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1429, allocations: 4 kB / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.1429, allocations: 79.31 kB / 0.5994 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 0.5994 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001857/0.1431, allocations: 15.94 kB / 0.5995 GB, free: 3.688 MB / 0.4981 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 (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.0003316/0.1434, allocations: 0.6087 MB / 0.6001 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1436, allocations: 19.98 kB / 0.6001 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1436, allocations: 7.938 kB / 0.6001 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.1437, allocations: 8 kB / 0.6001 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.1438, allocations: 4.547 kB / 0.6001 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1442, allocations: 140.6 kB / 0.6002 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1444, allocations: 0.6809 MB / 0.6009 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.384e-05/0.1444, allocations: 0 / 0.6009 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.1445, allocations: 7.438 kB / 0.6009 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1445, allocations: 0 / 0.6009 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1551, allocations: 1.232 MB / 0.6021 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.1553, allocations: 295.2 kB / 0.6024 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.701, allocations: 0 / 0.6024 GB, free: 0.7266 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)