Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0007981/0.0007981, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007966/0.0007966, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9383/0.9383, allocations: 177.1 MB / 203.5 MB, free: 5.445 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.721/1.721, allocations: 377.8 MB / 0.6228 GB, free: 8.648 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.496e-06/3.496e-06, allocations: 4 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.545e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002116/0.002151, allocations: 1.479 MB / 0.9837 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.003057, allocations: 0.5643 MB / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.00311, allocations: 0 / 0.9842 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.003148, allocations: 3.938 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.003205, allocations: 7.938 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.003923, allocations: 159.2 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.004419, allocations: 51.83 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.004482, allocations: 8 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.739e-05/0.00458, allocations: 31.91 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.004625, allocations: 19.97 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.004644, allocations: 7.938 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.005017, allocations: 271.4 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.005044, allocations: 19.91 kB / 0.9848 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.005079, allocations: 12 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.005374, allocations: 191.4 kB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.00538, allocations: 4 kB / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.005381, allocations: 0 / 0.985 GB, free: 15.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.005387, allocations: 0 / 0.985 GB, free: 15.25 MB / 0.948 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.0006491/0.006036, allocations: 325.8 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.006083, allocations: 8.031 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.006133, allocations: 8.875 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.006225, allocations: 117.7 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.006254, allocations: 8.375 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.006278, allocations: 4.375 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.006498, allocations: 136.7 kB / 0.9855 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.006511, allocations: 8.172 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.006528, allocations: 8.375 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006534, allocations: 384 / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.006666, allocations: 51.89 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.007144, allocations: 256.4 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.007351, allocations: 74.53 kB / 0.9859 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.007423, allocations: 32.78 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.007448, allocations: 4 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.007481, allocations: 34.56 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.007483, allocations: 4 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001226/0.008709, allocations: 0.4993 MB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.00875, allocations: 51.41 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.008821, allocations: 105.8 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.008835, allocations: 29.7 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.008885, allocations: 92.03 kB / 0.9867 GB, free: 13.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.008925, allocations: 39.64 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.008969, allocations: 29.7 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.009069, allocations: 318.8 kB / 0.9871 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.009156, allocations: 39.91 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.009221, allocations: 31.98 kB / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.009372, allocations: 68.83 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.009374, allocations: 0 / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001909/0.009565, allocations: 121 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.009584, allocations: 11.98 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.009592, allocations: 0 / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.009607, allocations: 3.938 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.009715, allocations: 27.98 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.009721, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.009752, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.009761, allocations: 4 kB / 0.9874 GB, free: 12.49 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 (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 7.776e-05/0.009839, allocations: 121.8 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.009857, allocations: 4 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.0101, allocations: 129.9 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01011, allocations: 4 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01011, allocations: 4.094 kB / 0.9877 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01012, allocations: 11.92 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.01049, allocations: 326.3 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01049, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.01058, allocations: 31.91 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01058, allocations: 192 / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01059, allocations: 4 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.0106, allocations: 4 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.0106, allocations: 0 / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.01091, allocations: 251.3 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.01092, allocations: 7.984 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01094, allocations: 4 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.011, allocations: 7.984 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.01102, allocations: 7.984 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.01103, allocations: 7.938 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.01106, allocations: 79.28 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002346/0.01129, allocations: 43.81 kB / 0.9884 GB, free: 11.4 MB / 0.948 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.0002156/0.01151, allocations: 135.1 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01173, allocations: 87.83 kB / 0.9886 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01174, allocations: 0 / 0.9886 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.01181, allocations: 35.97 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.01212, allocations: 8 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.01271, allocations: 295.1 kB / 0.989 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.01278, allocations: 83.02 kB / 0.989 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.01282, allocations: 24.48 kB / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.472e-06/0.01282, allocations: 0 / 0.9891 GB, free: 10.68 MB / 0.948 GB Notification: Performance of Templates: time 0.002667/0.01549, allocations: 1.339 MB / 0.9904 GB, free: 9.348 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.832183295860887] Failed to read output from testmodel.py, exit status != 0: 0.02172545250505209 0.03073421 0.023559782 Calling exit ...