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.0009101/0.0009101, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005595/0.005596, allocations: 171 kB / 16.26 MB, free: 6.613 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9204/0.9204, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 0.5165 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 83.41 MB / 0.598 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001136/0.1391, allocations: 0.9784 MB / 0.5989 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.14, allocations: 0.5918 MB / 0.5995 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.14, allocations: 0 / 0.5995 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.14, allocations: 7.875 kB / 0.5995 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.14, allocations: 4 kB / 0.5995 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1404, allocations: 119.6 kB / 0.5996 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.439e-05/0.1405, allocations: 11.92 kB / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.299e-05/0.1405, allocations: 0 / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.1405, allocations: 4 kB / 0.5996 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.1406, allocations: 11.98 kB / 0.5997 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.1406, allocations: 0 / 0.5997 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.141, allocations: 343.3 kB / 0.6 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1411, allocations: 3.938 kB / 0.6 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1411, allocations: 29.7 kB / 0.6 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.1413, allocations: 143.9 kB / 0.6001 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1413, allocations: 0 / 0.6001 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1413, allocations: 0 / 0.6001 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.1413, allocations: 0 / 0.6001 GB, free: 5.324 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.0002983/0.1416, allocations: 343.5 kB / 0.6005 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1417, allocations: 8.031 kB / 0.6005 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.1417, allocations: 34.75 kB / 0.6005 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.667e-05/0.1417, allocations: 0.9375 kB / 0.6005 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/0.1418, allocations: 176.3 kB / 0.6007 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-06/0.1418, allocations: 384 / 0.6007 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.1419, allocations: 384 / 0.6007 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.1419, allocations: 30.27 kB / 0.6007 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1419, allocations: 3.938 kB / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.142, allocations: 0 / 0.6007 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.142, allocations: 4 kB / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.142, allocations: 3.938 kB / 0.6007 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.1421, allocations: 153.7 kB / 0.6009 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.1422, allocations: 26.61 kB / 0.6009 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.1422, allocations: 12.91 kB / 0.6009 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.1422, allocations: 0 / 0.6009 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1422, allocations: 34.55 kB / 0.6009 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1422, allocations: 0 / 0.6009 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.1424, allocations: 49.58 kB / 0.601 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1424, allocations: 55.53 kB / 0.601 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.487e-05/0.1425, allocations: 93.86 kB / 0.6011 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1425, allocations: 25.7 kB / 0.6012 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.1425, allocations: 88.06 kB / 0.6012 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1425, allocations: 7.906 kB / 0.6013 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.1426, allocations: 9.719 kB / 0.6013 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.1427, allocations: 318.8 kB / 0.6016 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-06/0.1427, allocations: 0 / 0.6016 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.1427, allocations: 8.125 kB / 0.6016 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.1427, allocations: 12.86 kB / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1427, allocations: 0 / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.657e-05/0.1428, allocations: 41.62 kB / 0.6016 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1428, allocations: 7.938 kB / 0.6016 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.1428, allocations: 0 / 0.6016 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1428, allocations: 4 kB / 0.6016 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.143, allocations: 7.984 kB / 0.6016 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000318/0.1433, allocations: 0.59 MB / 0.6022 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.1433, allocations: 0 / 0.6022 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1433, allocations: 0 / 0.6022 GB, free: 2.945 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 6.242e-05/0.1434, allocations: 113.7 kB / 0.6023 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-06/0.1434, allocations: 4.031 kB / 0.6023 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.1435, allocations: 48.91 kB / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1435, allocations: 0 / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1435, allocations: 0 / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1435, allocations: 0 / 0.6024 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.478e-05/0.1436, allocations: 161.5 kB / 0.6025 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1436, allocations: 0 / 0.6025 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.1437, allocations: 8 kB / 0.6025 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1437, allocations: 0 / 0.6025 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1437, allocations: 7.984 kB / 0.6025 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002651/0.144, allocations: 0.586 MB / 0.6031 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.144, allocations: 3.938 kB / 0.6031 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.343e-05/0.1441, allocations: 61.17 kB / 0.6032 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.1441, allocations: 81.09 kB / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.1441, allocations: 0 / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.1441, allocations: 128 / 0.6033 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.1442, allocations: 11.94 kB / 0.6033 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1442, allocations: 0 / 0.6033 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.1442, allocations: 75.28 kB / 0.6033 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1442, allocations: 0 / 0.6033 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001856/0.1444, allocations: 23.88 kB / 0.6034 GB, free: 1.648 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.0003633/0.1448, allocations: 0.6177 MB / 0.604 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1449, allocations: 19.98 kB / 0.604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1449, allocations: 0 / 0.604 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.145, allocations: 19.92 kB / 0.604 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1451, allocations: 10.75 kB / 0.604 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.1455, allocations: 141 kB / 0.6042 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.1457, allocations: 0.677 MB / 0.6048 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1457, allocations: 0 / 0.6048 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.1457, allocations: 7.438 kB / 0.6048 GB, free: 64 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1458, allocations: 0 / 0.6048 GB, free: 64 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/0.3836, allocations: 1.164 MB / 0.606 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.3838, allocations: 278.7 kB / 0.6062 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/1.907, allocations: 0 / 0.6062 GB, free: 40.09 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)