Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001247/0.001247, allocations: 113.5 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.001516/0.001516, allocations: 218.8 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002425/0.002425, allocations: 282.2 kB / 313.5 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002795/0.002795, allocations: 98.97 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1716, allocations: 95.38 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003084/0.1747, allocations: 1.507 MB / 0.835 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1759, allocations: 0.6399 MB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.176, allocations: 4 kB / 0.8356 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.176, allocations: 7.922 kB / 0.8356 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.1761, allocations: 7.938 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.1767, allocations: 161.1 kB / 0.8358 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1768, allocations: 47.84 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.1769, allocations: 7.984 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.177, allocations: 23.92 kB / 0.8358 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.177, allocations: 27.86 kB / 0.8359 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.177, allocations: 4 kB / 0.8359 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.1776, allocations: 351.3 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1776, allocations: 8 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1776, allocations: 27.84 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.178, allocations: 179.6 kB / 0.8364 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.178, allocations: 4 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.178, allocations: 0 / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.178, allocations: 0 / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006628/0.1786, allocations: 329.8 kB / 0.8367 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1787, allocations: 8.75 kB / 0.8367 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.859e-05/0.1787, allocations: 8.188 kB / 0.8367 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1787, allocations: 34.75 kB / 0.8368 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.1788, allocations: 8.891 kB / 0.8368 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1789, allocations: 114.5 kB / 0.8369 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.179, allocations: 4.312 kB / 0.8369 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.179, allocations: 16.36 kB / 0.8369 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.1793, allocations: 81.97 kB / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1793, allocations: 0 / 0.837 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1793, allocations: 8 kB / 0.837 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1793, allocations: 4 kB / 0.837 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.1795, allocations: 51.89 kB / 0.8371 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.1802, allocations: 287.8 kB / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1805, allocations: 78.53 kB / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.1806, allocations: 28.84 kB / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1806, allocations: 4.141 kB / 0.8374 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1807, allocations: 34.56 kB / 0.8375 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.1807, allocations: 0 / 0.8375 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00172/0.1824, allocations: 0.4991 MB / 0.838 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1824, allocations: 59.34 kB / 0.838 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.1825, allocations: 105.8 kB / 0.8381 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1825, allocations: 29.7 kB / 0.8381 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.1826, allocations: 88.08 kB / 0.8382 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1827, allocations: 39.64 kB / 0.8383 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.1827, allocations: 29.7 kB / 0.8383 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1829, allocations: 318.8 kB / 0.8386 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.183, allocations: 31.97 kB / 0.8386 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1831, allocations: 29.73 kB / 0.8387 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1834, allocations: 76.83 kB / 0.8387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1834, allocations: 0 / 0.8387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003392/0.1837, allocations: 122.9 kB / 0.8388 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1837, allocations: 4 kB / 0.8388 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1838, allocations: 0 / 0.8388 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1838, allocations: 4 kB / 0.8389 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1839, allocations: 28.06 kB / 0.8389 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1839, allocations: 11.88 kB / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.184, allocations: 8 kB / 0.8389 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.184, allocations: 8 kB / 0.8389 GB, free: 2.836 MB / 0.5762 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.1841, allocations: 114.4 kB / 0.839 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1842, allocations: 7.984 kB / 0.839 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.1846, allocations: 133.6 kB / 0.8392 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1846, allocations: 0 / 0.8392 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.1846, allocations: 7.938 kB / 0.8392 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1846, allocations: 192 / 0.8392 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.1852, allocations: 357.5 kB / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1852, allocations: 0 / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1854, allocations: 23.98 kB / 0.8395 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.1854, allocations: 7.922 kB / 0.8395 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1854, allocations: 8 kB / 0.8395 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1854, allocations: 0 / 0.8395 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1854, allocations: 4 kB / 0.8395 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.1859, allocations: 247.4 kB / 0.8398 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.1859, allocations: 11.95 kB / 0.8398 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.186, allocations: 0 / 0.8398 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1861, allocations: 4 kB / 0.8398 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1861, allocations: 16.05 kB / 0.8398 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1861, allocations: 0 / 0.8398 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.1862, allocations: 87.2 kB / 0.8399 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.8399 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002909/0.1865, allocations: 39.88 kB / 0.8399 GB, free: 1.699 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009398/0.1874, allocations: 0.8176 MB / 0.8407 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.1877, allocations: 77.77 kB / 0.8408 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.1877, allocations: 4 kB / 0.8408 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1879, allocations: 43.91 kB / 0.8408 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1882, allocations: 8 kB / 0.8409 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1904, allocations: 1.605 MB / 0.8424 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1908, allocations: 0.6968 MB / 0.8431 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.767e-05/0.1908, allocations: 8.672 kB / 0.8431 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.1909, allocations: 23.42 kB / 0.8431 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.1909, allocations: 0 / 0.8431 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2151, allocations: 2.523 MB / 0.8456 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.38, allocations: 13.23 kB / 0.8456 GB, free: 11.96 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.412631182000041] Failed to read output from testmodel.py, exit status != 0: 11.539447202987503 11.562326423 11.379809727 Calling exit ...