Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001529/0.001529, allocations: 109.7 kB / 17.08 MB, free: 5.789 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.001343/0.001343, allocations: 191.7 kB / 20.03 MB, free: 2.926 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.205/1.205, allocations: 173.4 MB / 471.3 MB, free: 6.559 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 70.77 kB / 0.649 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 89.53 MB / 0.7364 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002484/0.1793, allocations: 1.268 MB / 0.7376 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1804, allocations: 0.6037 MB / 0.7382 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.1804, allocations: 0 / 0.7382 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.1805, allocations: 3.938 kB / 0.7382 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.1805, allocations: 3.984 kB / 0.7382 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1811, allocations: 147.4 kB / 0.7384 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.1811, allocations: 23.88 kB / 0.7384 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.1812, allocations: 3.984 kB / 0.7384 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.608e-05/0.1812, allocations: 4 kB / 0.7384 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.1813, allocations: 11.92 kB / 0.7384 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1813, allocations: 3.938 kB / 0.7384 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.1818, allocations: 339.4 kB / 0.7388 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1819, allocations: 4 kB / 0.7388 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1819, allocations: 19.91 kB / 0.7388 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1822, allocations: 143.5 kB / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1822, allocations: 0 / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1822, allocations: 0 / 0.7389 GB, free: 1.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1822, allocations: 0 / 0.7389 GB, free: 1.043 MB / 0.545 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.0004672/0.1827, allocations: 363.1 kB / 0.7393 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1827, allocations: 12.03 kB / 0.7393 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1828, allocations: 4.938 kB / 0.7393 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1829, allocations: 168.3 kB / 0.7394 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1829, allocations: 8.375 kB / 0.7394 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1829, allocations: 8.328 kB / 0.7395 GB, free: 416 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1831, allocations: 45.62 kB / 0.7395 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1831, allocations: 3.938 kB / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1831, allocations: 0 / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1831, allocations: 0 / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.1831, allocations: 7.984 kB / 0.7395 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1833, allocations: 161.7 kB / 0.7397 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1835, allocations: 46.5 kB / 0.7397 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.1836, allocations: 16.86 kB / 0.7397 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1836, allocations: 3.938 kB / 0.7397 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1836, allocations: 30.56 kB / 0.7398 GB, free: 20 kB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1837, allocations: 0 / 0.7398 GB, free: 20 kB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006509/0.1843, allocations: 314.7 kB / 0.7401 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1844, allocations: 55.41 kB / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.1844, allocations: 93.86 kB / 0.7402 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1845, allocations: 29.7 kB / 0.7402 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.1845, allocations: 80.14 kB / 0.7403 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1846, allocations: 31.72 kB / 0.7403 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1846, allocations: 17.72 kB / 0.7403 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1848, allocations: 318.8 kB / 0.7407 GB, free: 15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.1848, allocations: 8 kB / 0.7407 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.1848, allocations: 23.92 kB / 0.7407 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1849, allocations: 32.84 kB / 0.7407 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1849, allocations: 0 / 0.7407 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/0.185, allocations: 69.59 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.185, allocations: 7.984 kB / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.185, allocations: 0 / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.185, allocations: 0 / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.1851, allocations: 12 kB / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1851, allocations: 3.938 kB / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.1851, allocations: 0 / 0.7408 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1852, allocations: 0 / 0.7408 GB, free: 14.84 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 8.241e-05/0.1852, allocations: 121.8 kB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.1853, allocations: 0 / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.1854, allocations: 73.77 kB / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1854, allocations: 4 kB / 0.741 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1854, allocations: 0 / 0.741 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1854, allocations: 0 / 0.741 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.1858, allocations: 315.3 kB / 0.7413 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1858, allocations: 4.031 kB / 0.7413 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.1859, allocations: 15.98 kB / 0.7413 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1859, allocations: 0 / 0.7413 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1859, allocations: 7.938 kB / 0.7413 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1859, allocations: 7.938 kB / 0.7413 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1859, allocations: 0 / 0.7413 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1861, allocations: 184.3 kB / 0.7415 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.1862, allocations: 85.2 kB / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1862, allocations: 0 / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1863, allocations: 0 / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.1864, allocations: 7.984 kB / 0.7416 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1864, allocations: 4 kB / 0.7416 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.1864, allocations: 83.22 kB / 0.7417 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.047e-06/0.1864, allocations: 0 / 0.7417 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002468/0.1867, allocations: 23.88 kB / 0.7417 GB, free: 13.79 MB / 0.5606 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.0002069/0.1869, allocations: 135 kB / 0.7418 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.187, allocations: 24 kB / 0.7419 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.187, allocations: 0 / 0.7419 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.187, allocations: 23.92 kB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1873, allocations: 9.719 kB / 0.7419 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.1878, allocations: 219.3 kB / 0.7421 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1881, allocations: 0.6807 MB / 0.7428 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1881, allocations: 11.44 kB / 0.7428 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1881, allocations: 3.938 kB / 0.7428 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of Templates: time 0.002547/0.1907, allocations: 0.7963 MB / 0.7436 GB, free: 11.84 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.234109813114628] Failed to read output from testmodel.py, exit status != 0: 0.19751433818601072 0.21159812500000003 0.026754165000000003 Calling exit ...