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.001014/0.001014, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001044/0.001044, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9562/0.9562, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.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.7729/0.7729, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009629/0.0009629, allocations: 62.91 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5182, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00201/0.5202, allocations: 1.485 MB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.5212, allocations: 0.5582 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.5212, allocations: 2.188 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.5212, allocations: 5.391 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.5213, allocations: 4.734 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.5218, allocations: 160 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.5219, allocations: 55.36 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.522, allocations: 6.172 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.522, allocations: 28.33 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.522, allocations: 20.94 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.5221, allocations: 3.625 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.5224, allocations: 271.8 kB / 0.8203 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.5224, allocations: 19.8 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.5225, allocations: 20.31 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.5227, allocations: 163.9 kB / 0.8205 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5227, allocations: 4 kB / 0.8205 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5227, allocations: 6.188 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.5227, allocations: 0 / 0.8205 GB, free: 15.36 MB / 0.6198 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.0004735/0.5232, allocations: 324.6 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5233, allocations: 12.06 kB / 0.8209 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.5233, allocations: 36.11 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.5233, allocations: 3.531 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.065e-05/0.5234, allocations: 119.8 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.5234, allocations: 6.844 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5235, allocations: 4.812 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.5237, allocations: 129 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5237, allocations: 7.875 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5237, allocations: 8.516 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5237, allocations: 2 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.5238, allocations: 52.02 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.5242, allocations: 279.3 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.5244, allocations: 83.19 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.5245, allocations: 37.08 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5245, allocations: 7.984 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5245, allocations: 32.88 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.5245, allocations: 0 / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001251/0.5258, allocations: 0.4922 MB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.5258, allocations: 57.31 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.5259, allocations: 105.9 kB / 0.8223 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5259, allocations: 29.7 kB / 0.8223 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.5259, allocations: 92.11 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.5259, allocations: 39.41 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.526, allocations: 28.66 kB / 0.8224 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.5261, allocations: 324.8 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.5261, allocations: 32.88 kB / 0.8228 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.5262, allocations: 32.41 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5263, allocations: 77.61 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5263, allocations: 0 / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001847/0.5265, allocations: 114.7 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5265, allocations: 5.188 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5265, allocations: 0 / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5266, allocations: 1.25 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.5267, allocations: 28.17 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5267, allocations: 7.938 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.5267, allocations: 6.984 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5267, allocations: 6.594 kB / 0.8231 GB, free: 13.26 MB / 0.6198 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.324e-05/0.5268, allocations: 113.5 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.5268, allocations: 6.641 kB / 0.8232 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.527, allocations: 136.8 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.527, allocations: 1.094 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.527, allocations: 5.344 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.527, allocations: 4 kB / 0.8233 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.5274, allocations: 339.3 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5274, allocations: 5.094 kB / 0.8236 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.5275, allocations: 28.27 kB / 0.8237 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.5275, allocations: 6.078 kB / 0.8237 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5275, allocations: 9.312 kB / 0.8237 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5275, allocations: 1.156 kB / 0.8237 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5275, allocations: 0.6094 kB / 0.8237 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.5278, allocations: 244.1 kB / 0.8239 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.5278, allocations: 11.27 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5278, allocations: 6.25 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.5279, allocations: 5.719 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.5279, allocations: 8.016 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.5279, allocations: 7.672 kB / 0.824 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.528, allocations: 79.3 kB / 0.824 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.528, allocations: 3.938 kB / 0.824 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002178/0.5282, allocations: 39.47 kB / 0.8241 GB, free: 12.48 MB / 0.6198 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.0006015/0.5288, allocations: 0.8196 MB / 0.8249 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.529, allocations: 82.05 kB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.529, allocations: 1.156 kB / 0.8249 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.5291, allocations: 44.94 kB / 0.825 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5293, allocations: 16.69 kB / 0.825 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.5308, allocations: 1.588 MB / 0.8266 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.931e-05/0.5308, allocations: 83.08 kB / 0.8266 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.5309, allocations: 13.7 kB / 0.8267 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.5309, allocations: 26.66 kB / 0.8267 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.5309, allocations: 0 / 0.8267 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.5479, allocations: 2.839 MB / 0.8294 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.608, allocations: 15.55 kB / 0.8295 GB, free: 9.34 MB / 0.6198 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.56114825187251] Failed to read output from testmodel.py, exit status != 0: 7.685518611222506 7.705896708 7.179117439 Calling exit ...