Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002655/0.002655, allocations: 289.1 kB / 303 MB, free: 9.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.208/1.208, allocations: 180.9 MB / 0.5261 GB, free: 14.75 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 105.7 kB / 0.7248 GB, free: 40.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1746, allocations: 94.16 MB / 0.8167 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002398/0.177, allocations: 1.268 MB / 0.818 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.1781, allocations: 0.6246 MB / 0.8186 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1782, allocations: 4 kB / 0.8186 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1782, allocations: 0 / 0.8186 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.1782, allocations: 7.922 kB / 0.8186 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1788, allocations: 146.8 kB / 0.8187 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.1789, allocations: 19.92 kB / 0.8187 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1789, allocations: 7.984 kB / 0.8187 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.1789, allocations: 4 kB / 0.8188 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.179, allocations: 7.938 kB / 0.8188 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.179, allocations: 0 / 0.8188 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.1795, allocations: 343.3 kB / 0.8191 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1795, allocations: 11.98 kB / 0.8191 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.1795, allocations: 7.938 kB / 0.8191 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.1798, allocations: 143.8 kB / 0.8192 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1798, allocations: 4 kB / 0.8192 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1798, allocations: 0 / 0.8192 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.1798, allocations: 0 / 0.8192 GB, free: 2.852 MB / 0.5606 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.0004583/0.1803, allocations: 363.1 kB / 0.8196 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1803, allocations: 8.031 kB / 0.8196 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1803, allocations: 38.75 kB / 0.8196 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.1804, allocations: 0.9375 kB / 0.8196 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1805, allocations: 172.3 kB / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1805, allocations: 4.375 kB / 0.8198 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1805, allocations: 4.375 kB / 0.8198 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1807, allocations: 46.19 kB / 0.8199 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1807, allocations: 3.938 kB / 0.8199 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1807, allocations: 0 / 0.8199 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1807, allocations: 3.938 kB / 0.8199 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.1807, allocations: 15.98 kB / 0.8199 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.1809, allocations: 153.7 kB / 0.82 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1811, allocations: 42.61 kB / 0.8201 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.1811, allocations: 16.86 kB / 0.8201 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1811, allocations: 96 / 0.8201 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1812, allocations: 42.48 kB / 0.8201 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1812, allocations: 0 / 0.8201 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0006389/0.1818, allocations: 310.5 kB / 0.8204 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1818, allocations: 51.41 kB / 0.8205 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.1819, allocations: 105.8 kB / 0.8206 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1819, allocations: 25.7 kB / 0.8206 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.182, allocations: 80.14 kB / 0.8207 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.182, allocations: 23.8 kB / 0.8207 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.182, allocations: 17.72 kB / 0.8207 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1822, allocations: 314.8 kB / 0.821 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.1822, allocations: 12 kB / 0.821 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.1822, allocations: 15.98 kB / 0.821 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.1823, allocations: 36.8 kB / 0.8211 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1823, allocations: 0 / 0.8211 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.1824, allocations: 73.56 kB / 0.8211 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1824, allocations: 8 kB / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1824, allocations: 0 / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1824, allocations: 0 / 0.8211 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.1825, allocations: 8 kB / 0.8212 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.1825, allocations: 4.234 kB / 0.8212 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.1825, allocations: 0 / 0.8212 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1825, allocations: 4.062 kB / 0.8212 GB, free: 0.6055 MB / 0.5606 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 7.846e-05/0.1826, allocations: 121.8 kB / 0.8213 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1826, allocations: 7.875 kB / 0.8213 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.1827, allocations: 69.59 kB / 0.8214 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1827, allocations: 4 kB / 0.8214 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1827, allocations: 0 / 0.8214 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1827, allocations: 0 / 0.8214 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1831, allocations: 319.3 kB / 0.8217 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1831, allocations: 4.031 kB / 0.8217 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/0.1831, allocations: 15.94 kB / 0.8217 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1831, allocations: 0 / 0.8217 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1831, allocations: 0 / 0.8217 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-05/0.1832, allocations: 96 / 0.8217 GB, free: 16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1832, allocations: 7.984 kB / 0.8217 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1834, allocations: 184.2 kB / 0.8219 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1834, allocations: 81.2 kB / 0.8219 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1834, allocations: 7.984 kB / 0.8219 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1835, allocations: 4 kB / 0.822 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1835, allocations: 4 kB / 0.822 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1835, allocations: 0 / 0.822 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.1836, allocations: 79.28 kB / 0.822 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1836, allocations: 0 / 0.822 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002446/0.1838, allocations: 27.92 kB / 0.8221 GB, free: 15.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005413/0.1844, allocations: 0.7406 MB / 0.8228 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1845, allocations: 32.05 kB / 0.8228 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.1845, allocations: 4 kB / 0.8228 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.1845, allocations: 19.92 kB / 0.8228 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1847, allocations: 4.75 kB / 0.8228 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.186, allocations: 1.327 MB / 0.8241 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1863, allocations: 0.6807 MB / 0.8248 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.1863, allocations: 8 kB / 0.8248 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.1864, allocations: 11.44 kB / 0.8248 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.1864, allocations: 0 / 0.8248 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.2117, allocations: 1.632 MB / 0.8264 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.048, allocations: 10.23 kB / 0.8264 GB, free: 11.15 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.09019171493128] Failed to read output from testmodel.py, exit status != 0: 8.11621728213504 8.139867595 7.955612109 Calling exit ...