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.00133/0.00133, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001422/0.001422, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9239/0.9239, allocations: 144.9 MB / 454.5 MB, free: 10.05 MB / 350.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.001961/0.001961, allocations: 68.14 kB / 0.6287 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1745, allocations: 87.83 MB / 0.7145 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00286/0.1774, allocations: 1.269 MB / 0.7157 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1786, allocations: 0.5959 MB / 0.7163 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1786, allocations: 0 / 0.7163 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.1786, allocations: 3.938 kB / 0.7163 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.1787, allocations: 7.922 kB / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.1793, allocations: 135.5 kB / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.1794, allocations: 7.938 kB / 0.7164 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.423e-05/0.1795, allocations: 8 kB / 0.7164 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.1795, allocations: 7.984 kB / 0.7165 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.1796, allocations: 0 / 0.7165 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1796, allocations: 4 kB / 0.7165 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.1802, allocations: 343.3 kB / 0.7168 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1802, allocations: 3.938 kB / 0.7168 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.1802, allocations: 4 kB / 0.7168 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1805, allocations: 147.8 kB / 0.7169 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1805, allocations: 0 / 0.7169 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1805, allocations: 0 / 0.7169 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1805, allocations: 0 / 0.7169 GB, free: 9.207 MB / 0.5294 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.0006519/0.1812, allocations: 355.1 kB / 0.7173 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1812, allocations: 8.031 kB / 0.7173 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.786e-05/0.1812, allocations: 192 / 0.7173 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.858e-05/0.1813, allocations: 34.75 kB / 0.7173 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1814, allocations: 4.922 kB / 0.7173 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1815, allocations: 160.4 kB / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1815, allocations: 384 / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1816, allocations: 384 / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1817, allocations: 45.95 kB / 0.7175 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1817, allocations: 0 / 0.7175 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1817, allocations: 3.984 kB / 0.7175 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1817, allocations: 4 kB / 0.7175 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.1818, allocations: 3.984 kB / 0.7175 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.182, allocations: 153.6 kB / 0.7177 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.1821, allocations: 18.61 kB / 0.7177 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1821, allocations: 20.84 kB / 0.7177 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1822, allocations: 0 / 0.7177 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1822, allocations: 34.5 kB / 0.7177 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1822, allocations: 0 / 0.7177 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001938/0.1824, allocations: 41.7 kB / 0.7178 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1824, allocations: 51.41 kB / 0.7178 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1827, allocations: 97.97 kB / 0.7179 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1827, allocations: 29.83 kB / 0.718 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.1828, allocations: 88.08 kB / 0.718 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1828, allocations: 3.953 kB / 0.718 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.1828, allocations: 17.66 kB / 0.7181 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.183, allocations: 314.8 kB / 0.7184 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.183, allocations: 3.938 kB / 0.7184 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.183, allocations: 4 kB / 0.7184 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.596e-05/0.1831, allocations: 20.91 kB / 0.7184 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1831, allocations: 0 / 0.7184 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.104e-05/0.1832, allocations: 37.7 kB / 0.7184 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1832, allocations: 11.94 kB / 0.7184 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1832, allocations: 0 / 0.7184 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1832, allocations: 0 / 0.7184 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1834, allocations: 11.98 kB / 0.7184 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005213/0.1839, allocations: 0.586 MB / 0.719 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.184, allocations: 0 / 0.719 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.184, allocations: 0 / 0.719 GB, free: 6.812 MB / 0.5294 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 0.0001073/0.1841, allocations: 119.2 kB / 0.7191 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.1841, allocations: 0 / 0.7191 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1842, allocations: 48.75 kB / 0.7192 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1842, allocations: 0 / 0.7192 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1842, allocations: 4.062 kB / 0.7192 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1842, allocations: 4 kB / 0.7192 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1844, allocations: 157.6 kB / 0.7193 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1844, allocations: 0 / 0.7193 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.1845, allocations: 11.98 kB / 0.7193 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1845, allocations: 0 / 0.7193 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1845, allocations: 0 / 0.7193 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004179/0.1849, allocations: 0.586 MB / 0.7199 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1849, allocations: 4.094 kB / 0.7199 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.185, allocations: 73.09 kB / 0.72 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.185, allocations: 77.11 kB / 0.7201 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.1851, allocations: 0 / 0.7201 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.1851, allocations: 3.938 kB / 0.7201 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1851, allocations: 4 kB / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1851, allocations: 0 / 0.7201 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.1851, allocations: 79.31 kB / 0.7202 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1851, allocations: 0 / 0.7202 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002187/0.1854, allocations: 11.94 kB / 0.7202 GB, free: 5.516 MB / 0.5294 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.0004991/0.1859, allocations: 0.6124 MB / 0.7208 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.186, allocations: 28.05 kB / 0.7208 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1861, allocations: 0 / 0.7208 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.1861, allocations: 11.98 kB / 0.7208 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1863, allocations: 10.94 kB / 0.7208 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.1868, allocations: 137.3 kB / 0.7209 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1872, allocations: 0.6769 MB / 0.7216 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.1872, allocations: 0 / 0.7216 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.1872, allocations: 15.42 kB / 0.7216 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1872, allocations: 0 / 0.7216 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.208, allocations: 1.47 MB / 0.7231 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.37, allocations: 10.16 kB / 0.7231 GB, free: 2.723 MB / 0.5294 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.227208374999464] Failed to read output from testmodel.py, exit status != 0: 12.51802072598366 12.533782148 12.350295183 Calling exit ...