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.001365/0.001365, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001582/0.001582, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9124/0.9124, allocations: 145 MB / 458.2 MB, free: 15.52 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="cs",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="cs",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.002156/0.002156, allocations: 65.27 kB / 0.6339 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 87.88 MB / 0.7198 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002867/0.1878, allocations: 1.274 MB / 0.721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1889, allocations: 0.5993 MB / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.1889, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1889, allocations: 0 / 0.7216 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.189, allocations: 15.91 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1895, allocations: 135.4 kB / 0.7217 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.1895, allocations: 7.984 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1896, allocations: 7.938 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1896, allocations: 4 kB / 0.7217 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.1896, allocations: 3.938 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1896, allocations: 0 / 0.7218 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.1902, allocations: 351.3 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-06/0.1902, allocations: 0 / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.1902, allocations: 4 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1905, allocations: 143.5 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1905, allocations: 0 / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1905, allocations: 4 kB / 0.7222 GB, free: 12.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.1905, allocations: 0 / 0.7222 GB, free: 12.92 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.0003941/0.1909, allocations: 278 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1909, allocations: 8.031 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.1909, allocations: 192 / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.191, allocations: 34.69 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.191, allocations: 4.938 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1911, allocations: 106.5 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1911, allocations: 4.359 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1911, allocations: 4.375 kB / 0.7227 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.1912, allocations: 38.02 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1912, allocations: 0 / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.1912, allocations: 4 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1912, allocations: 0 / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.1912, allocations: 0 / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1914, allocations: 128.7 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.1915, allocations: 22.55 kB / 0.7228 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.1915, allocations: 16.92 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1915, allocations: 3.938 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1915, allocations: 38.48 kB / 0.7229 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1915, allocations: 0 / 0.7229 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001333/0.1917, allocations: 37.7 kB / 0.7229 GB, free: 12.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1917, allocations: 59.34 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.1918, allocations: 94.08 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1918, allocations: 29.73 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.1918, allocations: 84.12 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1919, allocations: 3.953 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1919, allocations: 17.72 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.192, allocations: 310.8 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.192, allocations: 0 / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.192, allocations: 4 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.1921, allocations: 20.92 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1921, allocations: 0 / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.835e-05/0.1922, allocations: 45.62 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1922, allocations: 9.812 kB / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1922, allocations: 0 / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1922, allocations: 0 / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1924, allocations: 15.92 kB / 0.7236 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004334/0.1928, allocations: 0.5861 MB / 0.7242 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1928, allocations: 0 / 0.7242 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1928, allocations: 0 / 0.7242 GB, free: 10.72 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.302e-05/0.1929, allocations: 113.8 kB / 0.7243 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.1929, allocations: 0 / 0.7243 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.193, allocations: 48.94 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.193, allocations: 0 / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.193, allocations: 128 / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.193, allocations: 8 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1931, allocations: 128.6 kB / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1931, allocations: 0 / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/0.1932, allocations: 8 kB / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1932, allocations: 0 / 0.7245 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1932, allocations: 7.984 kB / 0.7245 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.1936, allocations: 0.5821 MB / 0.725 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1936, allocations: 8.031 kB / 0.725 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.1e-05/0.1937, allocations: 61.11 kB / 0.7251 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.1937, allocations: 7.984 kB / 0.7251 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1937, allocations: 0 / 0.7251 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.1937, allocations: 3.938 kB / 0.7251 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1937, allocations: 0 / 0.7251 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1937, allocations: 0 / 0.7251 GB, free: 9.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.1938, allocations: 87.31 kB / 0.7252 GB, free: 9.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1938, allocations: 0 / 0.7252 GB, free: 9.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001898/0.194, allocations: 11.94 kB / 0.7252 GB, free: 9.551 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.000497/0.1944, allocations: 0.6085 MB / 0.7258 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1946, allocations: 20.11 kB / 0.7258 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.1946, allocations: 4 kB / 0.7258 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.1947, allocations: 11.98 kB / 0.7258 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1949, allocations: 8.547 kB / 0.7258 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.1954, allocations: 143.7 kB / 0.726 GB, free: 8.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.1957, allocations: 0.673 MB / 0.7266 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.1957, allocations: 4 kB / 0.7266 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1957, allocations: 7.438 kB / 0.7266 GB, free: 7.977 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.1957, allocations: 0 / 0.7266 GB, free: 7.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2181, allocations: 1.438 MB / 0.7281 GB, free: 6.734 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.74, allocations: 12.03 kB / 0.7281 GB, free: 6.727 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.556351837003604] Failed to read output from testmodel.py, exit status != 0: 12.908694798010401 12.940042121 12.743760495 Calling exit ...