Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001726/0.001726, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002205/0.002205, allocations: 216.2 kB / 23.03 MB, free: 4.922 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002513/0.002513, allocations: 284 kB / 313.5 MB, free: 2.715 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.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 14.69 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_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002818/0.002818, allocations: 91.17 kB / 0.7403 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1733, allocations: 95.39 MB / 0.8334 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002386/0.1757, allocations: 1.296 MB / 0.8347 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.1767, allocations: 0.5465 MB / 0.8352 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1767, allocations: 0 / 0.8352 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.1768, allocations: 3.938 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.336e-05/0.1768, allocations: 3.938 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1774, allocations: 153.4 kB / 0.8354 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.1775, allocations: 19.92 kB / 0.8354 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.1775, allocations: 4 kB / 0.8354 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.1776, allocations: 11.98 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1776, allocations: 7.938 kB / 0.8354 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1776, allocations: 4 kB / 0.8354 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1781, allocations: 283.5 kB / 0.8357 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1781, allocations: 4 kB / 0.8357 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1781, allocations: 7.938 kB / 0.8357 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1784, allocations: 143.8 kB / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1784, allocations: 0 / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1784, allocations: 0 / 0.8358 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1784, allocations: 0 / 0.8358 GB, free: 5.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004419/0.1789, allocations: 286 kB / 0.8361 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1789, allocations: 12.75 kB / 0.8361 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.245e-05/0.1789, allocations: 192 / 0.8361 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.1789, allocations: 34.75 kB / 0.8361 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.179, allocations: 8.891 kB / 0.8362 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1791, allocations: 102.5 kB / 0.8363 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1791, allocations: 4.375 kB / 0.8363 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1791, allocations: 4.375 kB / 0.8363 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1793, allocations: 75.64 kB / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1793, allocations: 0 / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1793, allocations: 0 / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1793, allocations: 0 / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.1793, allocations: 15.98 kB / 0.8363 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1795, allocations: 120.8 kB / 0.8365 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1797, allocations: 50.53 kB / 0.8365 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.1797, allocations: 16.86 kB / 0.8365 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1798, allocations: 0 / 0.8365 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1798, allocations: 42.5 kB / 0.8366 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.1798, allocations: 3.984 kB / 0.8366 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006317/0.1804, allocations: 225.2 kB / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.1805, allocations: 59.39 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.1805, allocations: 93.86 kB / 0.8369 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1805, allocations: 33.64 kB / 0.837 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1806, allocations: 84.14 kB / 0.837 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1806, allocations: 23.77 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.1807, allocations: 21.72 kB / 0.8371 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1808, allocations: 314.8 kB / 0.8374 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.1809, allocations: 15.98 kB / 0.8374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.1809, allocations: 12 kB / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.1809, allocations: 32.8 kB / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1809, allocations: 0 / 0.8374 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001149/0.1811, allocations: 65.62 kB / 0.8375 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1811, allocations: 8 kB / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1811, allocations: 0 / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1811, allocations: 0 / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1812, allocations: 11.98 kB / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1812, allocations: 0 / 0.8375 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.1812, allocations: 12.06 kB / 0.8375 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1812, allocations: 4 kB / 0.8375 GB, free: 3.871 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 (7): * Single equations (assignments): 7 * 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 8.758e-05/0.1813, allocations: 114.4 kB / 0.8377 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.1813, allocations: 3.938 kB / 0.8377 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.1815, allocations: 77.67 kB / 0.8377 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1815, allocations: 4 kB / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1815, allocations: 0 / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1815, allocations: 0 / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.1818, allocations: 290.4 kB / 0.838 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1818, allocations: 0 / 0.838 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.1819, allocations: 12 kB / 0.838 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1819, allocations: 4.031 kB / 0.838 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1819, allocations: 0 / 0.838 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1819, allocations: 4 kB / 0.838 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1819, allocations: 0 / 0.838 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1821, allocations: 180.3 kB / 0.8382 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.1821, allocations: 4.031 kB / 0.8382 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1821, allocations: 4 kB / 0.8382 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1822, allocations: 7.984 kB / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.1822, allocations: 0 / 0.8382 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1822, allocations: 4 kB / 0.8382 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.1823, allocations: 87.28 kB / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1823, allocations: 0 / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002484/0.1825, allocations: 27.86 kB / 0.8383 GB, free: 2.973 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005494/0.1831, allocations: 0.7331 MB / 0.839 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1832, allocations: 39.91 kB / 0.8391 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1832, allocations: 0 / 0.8391 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.1832, allocations: 19.98 kB / 0.8391 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1834, allocations: 0 / 0.8391 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1848, allocations: 1.331 MB / 0.8404 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.1848, allocations: 63.34 kB / 0.8405 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.1849, allocations: 12.09 kB / 0.8405 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1849, allocations: 11.44 kB / 0.8405 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.1849, allocations: 0 / 0.8405 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2084, allocations: 1.806 MB / 0.8423 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.32, allocations: 10.61 kB / 0.8423 GB, free: 15.02 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.468132690992206] Failed to read output from testmodel.py, exit status != 0: 11.479780639987439 11.495639522 11.314205927 Calling exit ...