Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0008483/0.0008483, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008027/0.0008027, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8443/0.8443, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.647/1.647, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.316e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001514/0.001527, allocations: 1.298 MB / 0.9822 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.002212, allocations: 0.5409 MB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.002236, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/0.002257, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.002289, allocations: 11.86 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.002686, allocations: 145.6 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.002741, allocations: 19.88 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.00278, allocations: 7.984 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.00283, allocations: 15.98 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.002874, allocations: 11.92 kB / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002887, allocations: 0 / 0.983 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.003143, allocations: 259.5 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.003159, allocations: 7.938 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.003178, allocations: 15.97 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.003351, allocations: 155.5 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003353, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003354, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.003357, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 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.0005401/0.003897, allocations: 286 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.003932, allocations: 8.031 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.00396, allocations: 46.72 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.003982, allocations: 0.9375 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.437e-05/0.004046, allocations: 109.8 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.004055, allocations: 4.375 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.00407, allocations: 384 / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.112e-05/0.004161, allocations: 67.95 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.004168, allocations: 192 / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.004174, allocations: 384 / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.00418, allocations: 4.125 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.943e-05/0.004209, allocations: 15.94 kB / 0.9839 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.004323, allocations: 132.7 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.004472, allocations: 38.61 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.004495, allocations: 20.94 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.004514, allocations: 0 / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.004533, allocations: 34.56 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004533, allocations: 3.938 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0004468/0.00498, allocations: 233.1 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.005008, allocations: 55.41 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.005056, allocations: 106.2 kB / 0.9845 GB, free: 14.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.005065, allocations: 29.64 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/0.005088, allocations: 80.14 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.005113, allocations: 27.78 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.005143, allocations: 17.72 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.005212, allocations: 314.8 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.005231, allocations: 12 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.005248, allocations: 15.98 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.005291, allocations: 28.86 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.005292, allocations: 0 / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.457e-05/0.005356, allocations: 69.58 kB / 0.9851 GB, free: 14.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.005369, allocations: 12 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005373, allocations: 0 / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005384, allocations: 3.938 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.005417, allocations: 8.188 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.005422, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.005433, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.005436, allocations: 0 / 0.9851 GB, free: 14.11 MB / 0.948 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 4.778e-05/0.005484, allocations: 117.8 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.00549, allocations: 3.984 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.005578, allocations: 73.75 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005579, allocations: 7.938 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005583, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005585, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.005795, allocations: 286.6 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.005797, allocations: 7.938 kB / 0.9856 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.005831, allocations: 8 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.005833, allocations: 3.984 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005841, allocations: 8 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.005841, allocations: 0 / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005842, allocations: 3.938 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.005959, allocations: 180.4 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.005974, allocations: 11.92 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.005983, allocations: 4 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.006022, allocations: 0 / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.006037, allocations: 7.984 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.00604, allocations: 0 / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.006068, allocations: 87.22 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006068, allocations: 0 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001554/0.006224, allocations: 19.94 kB / 0.9859 GB, free: 13.21 MB / 0.948 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.0003082/0.006532, allocations: 0.7367 MB / 0.9866 GB, free: 12.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.006605, allocations: 31.98 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.006607, allocations: 4 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.006624, allocations: 15.94 kB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.006769, allocations: 7.938 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.007517, allocations: 1.31 MB / 0.9879 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.007555, allocations: 71.28 kB / 0.988 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.007575, allocations: 3.984 kB / 0.988 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.007601, allocations: 16.5 kB / 0.988 GB, free: 10.88 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.007602, allocations: 0 / 0.988 GB, free: 10.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02241, allocations: 2.261 MB / 0.9902 GB, free: 8.824 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/6.467, allocations: 5.172 kB / 0.9902 GB, free: 8.82 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.2731157168746] Failed to read output from testmodel.py, exit status != 0: 6.546395788900554 6.555143795 6.550137404 Calling exit ...