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.00173/0.00173, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002194/0.002194, allocations: 214 kB / 22.24 MB, free: 5.258 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.793 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.9361/0.9361, allocations: 145 MB / 457.4 MB, free: 15.29 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.003483/0.003483, allocations: 64.89 kB / 0.6331 GB, free: 6.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2324, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003122/0.2355, allocations: 1.263 MB / 0.7202 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2367, allocations: 0.5293 MB / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.2368, allocations: 0 / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.2368, allocations: 0 / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.2368, allocations: 7.984 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.2374, allocations: 143.4 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.2375, allocations: 7.938 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.2376, allocations: 3.984 kB / 0.7208 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.2376, allocations: 8 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.2377, allocations: 0 / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2377, allocations: 4 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.2381, allocations: 271.4 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.2382, allocations: 0 / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.2382, allocations: 7.938 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.2385, allocations: 139.5 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2385, allocations: 3.984 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2385, allocations: 0 / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2385, allocations: 0 / 0.7212 GB, free: 12.45 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.0004368/0.2389, allocations: 274 kB / 0.7215 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.239, allocations: 12.03 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.239, allocations: 30.75 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.239, allocations: 0.9375 kB / 0.7215 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2391, allocations: 106.5 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2392, allocations: 4.375 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2392, allocations: 4.375 kB / 0.7217 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.2393, allocations: 38.25 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2393, allocations: 3.938 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2393, allocations: 0 / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2393, allocations: 0 / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.2394, allocations: 4 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.2395, allocations: 124.8 kB / 0.7218 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.2396, allocations: 26.5 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.2396, allocations: 4.859 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.2396, allocations: 4.062 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2397, allocations: 34.56 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 3.176e-06/0.2397, allocations: 3.984 kB / 0.7219 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.2398, allocations: 41.64 kB / 0.7219 GB, free: 11.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2399, allocations: 55.41 kB / 0.722 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.24, allocations: 97.84 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.24, allocations: 25.7 kB / 0.7221 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.24, allocations: 84.14 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.24, allocations: 7.891 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2401, allocations: 13.72 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2402, allocations: 319 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.2402, allocations: 7.984 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.848e-06/0.2402, allocations: 4 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.2403, allocations: 12.86 kB / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2403, allocations: 0 / 0.7225 GB, free: 10.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.57e-05/0.2403, allocations: 33.7 kB / 0.7226 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2404, allocations: 11.94 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2404, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2404, allocations: 0 / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2405, allocations: 15.92 kB / 0.7226 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004674/0.241, allocations: 0.5822 MB / 0.7232 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.241, allocations: 4 kB / 0.7232 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.241, allocations: 7.969 kB / 0.7232 GB, free: 10.25 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 9.519e-05/0.2411, allocations: 116 kB / 0.7233 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.2411, allocations: 3.984 kB / 0.7233 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.2413, allocations: 44.95 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2413, allocations: 4 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2413, allocations: 4.125 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2413, allocations: 3.984 kB / 0.7233 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2414, allocations: 124.7 kB / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2414, allocations: 0 / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.2415, allocations: 11.98 kB / 0.7235 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2415, allocations: 0 / 0.7235 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2415, allocations: 0 / 0.7235 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004139/0.2419, allocations: 0.5821 MB / 0.724 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2419, allocations: 3.938 kB / 0.724 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.242, allocations: 73.19 kB / 0.7241 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.242, allocations: 0 / 0.7241 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.242, allocations: 0 / 0.7241 GB, free: 9.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.242, allocations: 4 kB / 0.7241 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.242, allocations: 3.938 kB / 0.7241 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.2421, allocations: 0 / 0.7241 GB, free: 9.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.2421, allocations: 75.28 kB / 0.7242 GB, free: 9.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2421, allocations: 4 kB / 0.7242 GB, free: 9.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002011/0.2423, allocations: 7.938 kB / 0.7242 GB, free: 9.094 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.0005306/0.2428, allocations: 0.628 MB / 0.7248 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.243, allocations: 15.98 kB / 0.7248 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.243, allocations: 0 / 0.7248 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.2431, allocations: 11.98 kB / 0.7248 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.2432, allocations: 11.94 kB / 0.7248 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.2438, allocations: 139.8 kB / 0.725 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.2438, allocations: 63.5 kB / 0.725 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.2438, allocations: 3.938 kB / 0.725 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.2439, allocations: 11.38 kB / 0.7251 GB, free: 8.121 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.2439, allocations: 0 / 0.7251 GB, free: 8.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2752, allocations: 1.809 MB / 0.7268 GB, free: 6.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.78, allocations: 15.66 kB / 0.7268 GB, free: 6.484 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.66103973891586] Failed to read output from testmodel.py, exit status != 0: 12.896342757157981 12.9102153 12.668711013 Calling exit ...