Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.000788/0.000788, 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.0008543/0.0008543, 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.9177/0.9177, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7267/0.7267, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.195e-05, allocations: 5.031 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002139/0.002161, allocations: 1.281 MB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000749/0.00291, allocations: 0.5408 MB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.002935, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.002953, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.002993, allocations: 3.938 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.003485, allocations: 153.6 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.003545, allocations: 19.92 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.003584, allocations: 0 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.003641, allocations: 19.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.003689, allocations: 15.92 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003702, allocations: 3.938 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.004018, allocations: 263.5 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.004035, allocations: 7.938 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.004054, allocations: 7.984 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.004262, allocations: 159.5 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004264, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004265, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00427, allocations: 0 / 0.6205 GB, free: 11.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003217/0.004591, allocations: 286 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.004629, allocations: 8.031 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.004656, allocations: 38.75 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.004679, allocations: 4.891 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.771e-05/0.004747, allocations: 101.8 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.004758, allocations: 4.375 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.004775, allocations: 4.375 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004875, allocations: 63.95 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004882, allocations: 192 / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.004891, allocations: 4.375 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.004898, allocations: 8.109 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.004937, allocations: 15.92 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.005055, allocations: 124.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.005215, allocations: 42.61 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.005241, allocations: 20.94 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.005258, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.005277, allocations: 34.56 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005278, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.000457/0.005735, allocations: 233.1 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.005764, allocations: 55.41 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.005808, allocations: 101.8 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005818, allocations: 33.7 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.005841, allocations: 80.14 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.005867, allocations: 23.8 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.005899, allocations: 21.7 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.00597, allocations: 310.8 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.00599, allocations: 15.98 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.006006, allocations: 11.98 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.006048, allocations: 32.86 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006049, allocations: 0 / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.353e-05/0.006112, allocations: 61.62 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.006126, allocations: 8 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006132, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006144, allocations: 3.938 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.00618, allocations: 15.94 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.006187, allocations: 8.219 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.006198, allocations: 4.062 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.006205, allocations: 3.984 kB / 0.6222 GB, free: 9.16 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 (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 5.658e-05/0.006261, allocations: 114.8 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-06/0.006266, allocations: 0 / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.006376, allocations: 73.75 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006379, allocations: 3.938 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.006385, allocations: 7.984 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006388, allocations: 0 / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.006619, allocations: 274.5 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.006623, allocations: 11.88 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.006664, allocations: 11.98 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.006666, allocations: 0 / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.006673, allocations: 4 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006674, allocations: 0 / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006675, allocations: 0.5156 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.006796, allocations: 172.4 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.006811, allocations: 12.02 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.006825, allocations: 8 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.006865, allocations: 0 / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.00688, allocations: 15.91 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.006883, allocations: 3.938 kB / 0.6229 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.006903, allocations: 79.28 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006904, allocations: 0 / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001578/0.007061, allocations: 27.88 kB / 0.623 GB, free: 8.27 MB / 0.5886 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.0003264/0.007388, allocations: 0.7329 MB / 0.6237 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.007466, allocations: 43.98 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007468, allocations: 0 / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.007484, allocations: 15.94 kB / 0.6238 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.007635, allocations: 10.33 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.008497, allocations: 1.305 MB / 0.6251 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.008554, allocations: 67.28 kB / 0.6251 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.008577, allocations: 4.25 kB / 0.6251 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.00861, allocations: 12.5 kB / 0.6251 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of SimCode: time 9.91e-07/0.008611, allocations: 0 / 0.6251 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.0247, allocations: 2.238 MB / 0.6273 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.637, allocations: 4.875 kB / 0.6273 GB, free: 3.91 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.391883586533368] Failed to read output from testmodel.py, exit status != 0: 6.718163628131151 6.727324611 6.721441611 Calling exit ...