Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008108/0.0008108, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008843/0.0008843, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7185/0.7185, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.288e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001801/0.001823, allocations: 1.286 MB / 0.6194 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.00261, allocations: 0.5409 MB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.002641, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.00266, allocations: 7.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.0027, allocations: 11.91 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.003223, allocations: 143.3 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.003294, allocations: 15.94 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.003341, allocations: 7.984 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.003394, allocations: 15.92 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.003441, allocations: 11.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.003457, allocations: 4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.003752, allocations: 263.4 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.003769, allocations: 3.984 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.003792, allocations: 7.984 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.004015, allocations: 163.2 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.004022, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.324e-06/0.004024, allocations: 0 / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.00403, allocations: 0 / 0.6205 GB, free: 11.16 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.0003947/0.004425, allocations: 282 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.004473, allocations: 8.031 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.004506, allocations: 34.73 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.004539, allocations: 8.891 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.004624, allocations: 105.7 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004635, allocations: 384 / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.004659, allocations: 12.38 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.004779, allocations: 67.94 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.004786, allocations: 192 / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.004798, allocations: 4.375 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.004805, allocations: 4.125 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.004843, allocations: 7.938 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.004991, allocations: 128.8 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.005204, allocations: 42.61 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.005234, allocations: 20.94 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.005255, allocations: 0 / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.005276, allocations: 38.5 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.005277, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005452/0.005822, allocations: 233.1 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.005853, allocations: 51.41 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.005902, allocations: 97.84 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005912, allocations: 25.7 kB / 0.6216 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.005937, allocations: 88.14 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.005964, allocations: 27.67 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.005998, allocations: 25.7 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.006073, allocations: 314.8 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.006096, allocations: 16 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.00612, allocations: 7.984 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.006166, allocations: 32.86 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006167, allocations: 0 / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.384e-05/0.006241, allocations: 65.62 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.006254, allocations: 4 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.00626, allocations: 304 / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006275, allocations: 11.94 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.00632, allocations: 8 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.006327, allocations: 3.984 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.00634, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006346, allocations: 8 kB / 0.6222 GB, free: 9.172 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.739e-05/0.006403, allocations: 110.8 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.006411, allocations: 4 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.006533, allocations: 73.75 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.006536, allocations: 3.938 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.006543, allocations: 4.516 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.006546, allocations: 0 / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.006842, allocations: 282.5 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.006845, allocations: 7.875 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.006906, allocations: 15.98 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.006909, allocations: 4.031 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.006918, allocations: 0 / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.006921, allocations: 0 / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.006923, allocations: 4 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.007089, allocations: 172.4 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.007115, allocations: 15.89 kB / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.007127, allocations: 0 / 0.6229 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/0.00718, allocations: 8 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.007198, allocations: 7.922 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.007206, allocations: 4.188 kB / 0.6229 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.044e-05/0.007236, allocations: 79.34 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007236, allocations: 4 kB / 0.623 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001967/0.007433, allocations: 19.94 kB / 0.623 GB, free: 8.281 MB / 0.5886 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.0005505/0.007983, allocations: 0.7366 MB / 0.6237 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.008105, allocations: 35.92 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008107, allocations: 0 / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.008127, allocations: 15.94 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.008326, allocations: 13.66 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.009264, allocations: 1.302 MB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.00932, allocations: 67.28 kB / 0.6251 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.009356, allocations: 12.3 kB / 0.6251 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.009392, allocations: 8.5 kB / 0.6251 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of SimCode: time 9.62e-07/0.009393, allocations: 4 kB / 0.6252 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.0292, allocations: 2.254 MB / 0.6274 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.834, allocations: 6.906 kB / 0.6274 GB, free: 3.906 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.477227800525725] Failed to read output from testmodel.py, exit status != 0: 6.915751394815743 6.924226851 6.918447676 Calling exit ...