Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007454/0.0007454, 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.001102/0.001102, allocations: 165.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.8904/0.8904, 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 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.7052/0.7052, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_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_dev_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.874e-06/1.874e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.021e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002125/0.002145, allocations: 1.481 MB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.003036, allocations: 0.5526 MB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.003078, allocations: 4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.003112, allocations: 3.984 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.003161, allocations: 7.875 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.003665, allocations: 170.6 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.003749, allocations: 51.78 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.003799, allocations: 4 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.003875, allocations: 31.95 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.003911, allocations: 19.92 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.003927, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.004205, allocations: 279.3 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.004224, allocations: 8 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.004253, allocations: 23.91 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.004497, allocations: 187.4 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.004501, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.505e-06/0.004504, allocations: 0 / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.00451, allocations: 0 / 0.6208 GB, free: 10.91 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.0004876/0.004997, allocations: 325.8 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.005048, allocations: 9.469 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.005086, allocations: 38.75 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.005125, allocations: 12.89 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.005212, allocations: 109.7 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.005241, allocations: 8.375 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.005262, allocations: 8.375 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.005457, allocations: 133.6 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005468, allocations: 192 / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.005479, allocations: 384 / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005485, allocations: 8.125 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.005613, allocations: 47.95 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.006077, allocations: 291.7 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.006249, allocations: 78.53 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.006308, allocations: 32.83 kB / 0.6219 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.00633, allocations: 7.984 kB / 0.6219 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.006353, allocations: 34.5 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.006354, allocations: 4 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0009929/0.007347, allocations: 0.5064 MB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.007377, allocations: 55.41 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.007432, allocations: 93.86 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007447, allocations: 33.7 kB / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.007483, allocations: 84.12 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.007515, allocations: 47.58 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.007549, allocations: 21.72 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.007629, allocations: 326.8 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.007702, allocations: 31.98 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-05/0.007764, allocations: 27.97 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.007896, allocations: 76.83 kB / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007897, allocations: 0 / 0.6232 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001741/0.008071, allocations: 125.2 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.008087, allocations: 8 kB / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.008092, allocations: 0 / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.008105, allocations: 0 / 0.6233 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.008197, allocations: 23.98 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.008203, allocations: 0 / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.008235, allocations: 15.98 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.008244, allocations: 4 kB / 0.6233 GB, free: 8.07 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 6.595e-05/0.00831, allocations: 122.7 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.008326, allocations: 4 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.008554, allocations: 133.7 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008556, allocations: 4 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.008561, allocations: 0 / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.008563, allocations: 0 / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.008927, allocations: 353.5 kB / 0.6239 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008929, allocations: 8 kB / 0.6239 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.009015, allocations: 23.98 kB / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.009019, allocations: 3.984 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.009028, allocations: 4 kB / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.00903, allocations: 96 / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009032, allocations: 7.875 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.009329, allocations: 251.4 kB / 0.6242 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.009335, allocations: 0 / 0.6242 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.00935, allocations: 8.031 kB / 0.6242 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.009408, allocations: 7.984 kB / 0.6242 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.009426, allocations: 11.92 kB / 0.6242 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.009434, allocations: 4 kB / 0.6242 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.009461, allocations: 83.41 kB / 0.6243 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009461, allocations: 0 / 0.6243 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002115/0.009673, allocations: 39.88 kB / 0.6243 GB, free: 6.938 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.0006009/0.01027, allocations: 0.8095 MB / 0.6251 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01048, allocations: 83.89 kB / 0.6252 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01048, allocations: 0 / 0.6252 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.01055, allocations: 39.91 kB / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01083, allocations: 15.92 kB / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.01237, allocations: 1.56 MB / 0.6268 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.116e-05/0.01242, allocations: 75.33 kB / 0.6269 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.96e-05/0.01247, allocations: 12.73 kB / 0.6269 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.01252, allocations: 28.48 kB / 0.6269 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.01252, allocations: 0 / 0.6269 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.03219, allocations: 2.996 MB / 0.6298 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.586, allocations: 14.91 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.343302551656961] Failed to read output from testmodel.py, exit status != 0: 7.668897205032408 7.67854091 7.672303414 Calling exit ...