Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001071/0.001071, 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.0009519/0.0009519, 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.9179/0.9179, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7142/0.7142, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.704e-05, allocations: 6.406 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002319/0.002346, allocations: 1.284 MB / 0.6193 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003376, allocations: 0.5409 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.003407, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.00343, allocations: 7.875 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.003477, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.004066, allocations: 158.4 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.004143, allocations: 19.92 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.004203, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.004275, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.004331, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.004347, allocations: 7.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.004747, allocations: 267.5 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.004767, allocations: 7.938 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.004794, allocations: 8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.005068, allocations: 155.5 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005072, allocations: 0 / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.073e-06/0.005074, allocations: 0 / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.005079, allocations: 0 / 0.6205 GB, free: 11.27 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.0004545/0.005533, allocations: 282 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.005581, allocations: 9.469 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.005617, allocations: 42.75 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.005646, allocations: 4.891 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.131e-05/0.005737, allocations: 109.7 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.005749, allocations: 384 / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.005772, allocations: 384 / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005904, allocations: 67.95 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.005914, allocations: 4.125 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005924, allocations: 384 / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.005931, allocations: 4.125 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.005977, allocations: 15.98 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.006143, allocations: 124.8 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.006365, allocations: 46.61 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.00641, allocations: 16.94 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.006435, allocations: 0 / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.006462, allocations: 42.5 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.006463, allocations: 0 / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0007099/0.007173, allocations: 221.5 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.007215, allocations: 55.41 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.007289, allocations: 105.8 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.007304, allocations: 25.7 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.007342, allocations: 88.08 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.007381, allocations: 31.69 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.007424, allocations: 21.7 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.007525, allocations: 310.8 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.007555, allocations: 15.98 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.007582, allocations: 12 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.007651, allocations: 37 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007652, allocations: 0 / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.007764, allocations: 69.61 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.007784, allocations: 4 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.007791, allocations: 0 / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.007811, allocations: 8 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.007881, allocations: 19.98 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.007889, allocations: 0 / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.007904, allocations: 0 / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.00791, allocations: 0 / 0.6222 GB, free: 9.277 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 8.184e-05/0.007992, allocations: 114.8 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.008002, allocations: 0 / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.008168, allocations: 77.73 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.008174, allocations: 3.938 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.008179, allocations: 0 / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008184, allocations: 4 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.008568, allocations: 282.5 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.008574, allocations: 7.938 kB / 0.6226 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.008651, allocations: 11.98 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.008655, allocations: 0 / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.008667, allocations: 4 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.00867, allocations: 0 / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.008672, allocations: 0 / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.008881, allocations: 180.3 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.008915, allocations: 3.938 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.008933, allocations: 4.125 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.009004, allocations: 4 kB / 0.6228 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.009027, allocations: 7.984 kB / 0.6228 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.009035, allocations: 4.188 kB / 0.6228 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.009077, allocations: 79.28 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.009077, allocations: 0 / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003022/0.00938, allocations: 23.88 kB / 0.6229 GB, free: 8.391 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.0005096/0.009889, allocations: 0.7365 MB / 0.6237 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.393e-05/0.009973, allocations: 31.98 kB / 0.6237 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.009976, allocations: 4.062 kB / 0.6237 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.01, allocations: 23.92 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.01026, allocations: 11.22 kB / 0.6237 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01154, allocations: 1.306 MB / 0.625 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.257e-05/0.0116, allocations: 67.41 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.01164, allocations: 8.297 kB / 0.6251 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.01169, allocations: 16.5 kB / 0.6251 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of SimCode: time 8.51e-07/0.01169, allocations: 0 / 0.6251 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.034, allocations: 2.228 MB / 0.6273 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.852, allocations: 12.48 kB / 0.6273 GB, free: 4.023 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.595963850617409] Failed to read output from testmodel.py, exit status != 0: 6.931926942430437 6.94379081 6.936087388 Calling exit ...