Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007406/0.0007406, 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.0007773/0.0007773, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7041/0.7041, allocations: 154.6 MB / 413.8 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.774e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00183/0.001847, allocations: 1.473 MB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008342/0.002682, allocations: 0.5643 MB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.002716, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.002747, allocations: 11.92 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.002794, allocations: 7.875 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.003296, allocations: 155.3 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.003375, allocations: 51.8 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.00342, allocations: 15.91 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.473e-05/0.003495, allocations: 27.97 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.003535, allocations: 27.89 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.003551, allocations: 8 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.003837, allocations: 271.4 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003854, allocations: 7.938 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.003878, allocations: 23.91 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.00409, allocations: 187.4 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004092, allocations: 0 / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.004093, allocations: 4 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004097, allocations: 0 / 0.6209 GB, free: 10.8 MB / 0.5886 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.0004325/0.004529, allocations: 325.8 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.004567, allocations: 8.031 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.004598, allocations: 42.75 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.004626, allocations: 4.891 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.101e-05/0.004697, allocations: 109.8 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.004719, allocations: 4.375 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.004736, allocations: 8.375 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.00491, allocations: 136.3 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004919, allocations: 192 / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.00493, allocations: 8.375 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004936, allocations: 8.109 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.005073, allocations: 55.89 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.005566, allocations: 287.7 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.005734, allocations: 74.53 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.005792, allocations: 28.83 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.005812, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.005835, allocations: 34.56 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005836, allocations: 4 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0009618/0.006797, allocations: 0.4985 MB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.006824, allocations: 55.41 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.006875, allocations: 101.9 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.006886, allocations: 29.64 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.006925, allocations: 92.12 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.006954, allocations: 39.59 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.00699, allocations: 29.8 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.007068, allocations: 330.7 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.007134, allocations: 23.98 kB / 0.6231 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.007196, allocations: 35.97 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.007325, allocations: 72.83 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.007326, allocations: 0 / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001673/0.007493, allocations: 124.9 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.007504, allocations: 4 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.007508, allocations: 0 / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.007518, allocations: 4 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.007603, allocations: 31.92 kB / 0.6234 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007607, allocations: 0 / 0.6234 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.007637, allocations: 7.984 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.007643, allocations: 8 kB / 0.6234 GB, free: 7.957 MB / 0.5886 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 5.814e-05/0.007702, allocations: 118.8 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.007716, allocations: 0 / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.007926, allocations: 137.6 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.007927, allocations: 0 / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.007931, allocations: 0 / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007933, allocations: 0 / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.008253, allocations: 357.5 kB / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008254, allocations: 0 / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.00833, allocations: 27.92 kB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008332, allocations: 0 / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.008339, allocations: 7.984 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008341, allocations: 0 / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.008343, allocations: 3.938 kB / 0.624 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.008612, allocations: 243.4 kB / 0.6242 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.008618, allocations: 4.219 kB / 0.6242 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.008629, allocations: 4.062 kB / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.008686, allocations: 11.98 kB / 0.6243 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.008701, allocations: 11.92 kB / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.008708, allocations: 11.92 kB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.008734, allocations: 83.22 kB / 0.6244 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008734, allocations: 0 / 0.6244 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002018/0.008936, allocations: 35.88 kB / 0.6244 GB, free: 6.84 MB / 0.5886 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.0004828/0.009419, allocations: 0.8136 MB / 0.6252 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.009594, allocations: 79.83 kB / 0.6253 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009596, allocations: 3.938 kB / 0.6253 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.009661, allocations: 47.91 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.009864, allocations: 16 kB / 0.6253 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.01105, allocations: 1.548 MB / 0.6268 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.0111, allocations: 75.33 kB / 0.6269 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.01114, allocations: 16.72 kB / 0.6269 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01118, allocations: 28.44 kB / 0.627 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.01118, allocations: 0 / 0.627 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.02875, allocations: 2.983 MB / 0.6299 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/6.972, allocations: 14.72 kB / 0.6299 GB, free: 1.324 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.577478982508183] Failed to read output from testmodel.py, exit status != 0: 7.052427873015404 7.060645775 7.054952512 Calling exit ...