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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9679/0.9679, allocations: 145 MB / 457.4 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 74.09 kB / 0.6332 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2028, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002895/0.2057, allocations: 1.266 MB / 0.7202 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2069, allocations: 0.611 MB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.207, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.207, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.207, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.2076, allocations: 139.4 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.2076, allocations: 11.92 kB / 0.721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.2077, allocations: 3.938 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.2077, allocations: 8 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.2078, allocations: 11.92 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2078, allocations: 0 / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.2083, allocations: 343.3 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.2083, allocations: 0 / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2083, allocations: 4 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.2086, allocations: 147.5 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2086, allocations: 0 / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2086, allocations: 0 / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2086, allocations: 0 / 0.7215 GB, free: 12.89 MB / 0.545 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.0004225/0.209, allocations: 278 kB / 0.7217 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2091, allocations: 8.031 kB / 0.7217 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.2091, allocations: 34.75 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2092, allocations: 0.9375 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2093, allocations: 106.5 kB / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.2093, allocations: 384 / 0.7219 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2093, allocations: 8.375 kB / 0.7219 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.2094, allocations: 38.2 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2094, allocations: 3.938 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2094, allocations: 4 kB / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2094, allocations: 0 / 0.7219 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.2094, allocations: 4 kB / 0.7219 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.2096, allocations: 124.7 kB / 0.722 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.2097, allocations: 22.61 kB / 0.7221 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.2097, allocations: 4.859 kB / 0.7221 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2097, allocations: 4 kB / 0.7221 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.2097, allocations: 38.62 kB / 0.7221 GB, free: 12.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2097, allocations: 7.875 kB / 0.7221 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.2099, allocations: 41.62 kB / 0.7222 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2099, allocations: 51.41 kB / 0.7222 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.21, allocations: 97.86 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.21, allocations: 25.7 kB / 0.7223 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.21, allocations: 80.39 kB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.2101, allocations: 11.94 kB / 0.7224 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2101, allocations: 17.72 kB / 0.7224 GB, free: 11.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2102, allocations: 310.8 kB / 0.7227 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.2102, allocations: 4 kB / 0.7227 GB, free: 11.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.2103, allocations: 0 / 0.7227 GB, free: 11.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.2103, allocations: 16.8 kB / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2103, allocations: 0 / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.55e-05/0.2104, allocations: 45.75 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2104, allocations: 11.88 kB / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2104, allocations: 0 / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2104, allocations: 0 / 0.7228 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.2106, allocations: 11.98 kB / 0.7228 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000435/0.211, allocations: 0.5821 MB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.211, allocations: 4 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.211, allocations: 8.156 kB / 0.7234 GB, free: 10.69 MB / 0.545 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 8.944e-05/0.2111, allocations: 112.2 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.2111, allocations: 0 / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.2112, allocations: 48.98 kB / 0.7235 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2112, allocations: 0 / 0.7235 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2112, allocations: 4 kB / 0.7236 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2112, allocations: 0 / 0.7236 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2114, allocations: 128.6 kB / 0.7237 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2114, allocations: 8.031 kB / 0.7237 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.2114, allocations: 4 kB / 0.7237 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2114, allocations: 4 kB / 0.7237 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.2114, allocations: 3.938 kB / 0.7237 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003653/0.2118, allocations: 0.5821 MB / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2118, allocations: 3.938 kB / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.885e-05/0.2119, allocations: 61.27 kB / 0.7243 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.2119, allocations: 4 kB / 0.7243 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2119, allocations: 11.92 kB / 0.7243 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.2119, allocations: 0 / 0.7243 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.2119, allocations: 7.875 kB / 0.7243 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2119, allocations: 0 / 0.7243 GB, free: 9.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.212, allocations: 79.28 kB / 0.7244 GB, free: 9.535 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.212, allocations: 128 / 0.7244 GB, free: 9.535 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002159/0.2122, allocations: 19.94 kB / 0.7244 GB, free: 9.516 MB / 0.545 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.0005469/0.2128, allocations: 0.6046 MB / 0.725 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2129, allocations: 19.92 kB / 0.7251 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2129, allocations: 4.094 kB / 0.7251 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.213, allocations: 12 kB / 0.7251 GB, free: 8.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.2132, allocations: 13.98 kB / 0.7251 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.2138, allocations: 137.8 kB / 0.7252 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.2142, allocations: 0.6729 MB / 0.7259 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.2142, allocations: 4.062 kB / 0.7259 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.2142, allocations: 11.44 kB / 0.7259 GB, free: 7.945 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.2142, allocations: 0 / 0.7259 GB, free: 7.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.2448, allocations: 1.402 MB / 0.7273 GB, free: 6.715 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.1, allocations: 8.219 kB / 0.7273 GB, free: 6.715 MB / 0.545 GB " [Timeout remaining time 647] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.86285101994872] Failed to read output from testmodel.py, exit status != 0: 13.217823422048241 13.238867758 13.027180519 Calling exit ...