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.0008585/0.0008585, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008531/0.0008531, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9786/0.9786, allocations: 230.6 MB / 256 MB, free: 9.809 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.7978/0.7978, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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_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: 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.001478/0.001478, allocations: 74.55 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5483, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001605/0.5499, allocations: 1.288 MB / 0.8191 GB, free: 372 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.5507, allocations: 0.6065 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.5507, allocations: 0 / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.5507, allocations: 6.109 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.5508, allocations: 12.38 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.5512, allocations: 140 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.5513, allocations: 20.12 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.5513, allocations: 3.703 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.5514, allocations: 9.578 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.5514, allocations: 11.53 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.5514, allocations: 1.969 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.5518, allocations: 342.5 kB / 0.8202 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.5518, allocations: 7.922 kB / 0.8203 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.5519, allocations: 9.859 kB / 0.8203 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.5521, allocations: 148.5 kB / 0.8204 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5521, allocations: 3.938 kB / 0.8204 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5521, allocations: 0 / 0.8204 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5521, allocations: 0 / 0.8204 GB, free: 15.69 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000381/0.5525, allocations: 284.8 kB / 0.8207 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5525, allocations: 9.828 kB / 0.8207 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.5526, allocations: 34.75 kB / 0.8207 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.5526, allocations: 7.906 kB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.5527, allocations: 111.1 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5527, allocations: 384 / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.5527, allocations: 4.25 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5528, allocations: 45.25 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5528, allocations: 6.062 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.5528, allocations: 0 / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.5528, allocations: 0.6094 kB / 0.8209 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.5529, allocations: 12.14 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.553, allocations: 134.4 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.5532, allocations: 42.47 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.5532, allocations: 19.19 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.5532, allocations: 3.984 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5532, allocations: 35.95 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5533, allocations: 0 / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004943/0.5537, allocations: 232.2 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5538, allocations: 55.36 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.5538, allocations: 101.1 kB / 0.8215 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.5538, allocations: 26.92 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.5539, allocations: 84.14 kB / 0.8216 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5539, allocations: 20.25 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.5539, allocations: 21.09 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.554, allocations: 321.8 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.554, allocations: 7.422 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.554, allocations: 11.73 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.5541, allocations: 38.62 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5541, allocations: 0 / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.835e-05/0.5542, allocations: 77.52 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5542, allocations: 3.906 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5542, allocations: 0 / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5542, allocations: 1.531 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.5542, allocations: 10.31 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5543, allocations: 5.781 kB / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.5543, allocations: 0 / 0.8221 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5543, allocations: 6.047 kB / 0.8221 GB, free: 14 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 (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.915e-05/0.5543, allocations: 120.7 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.5543, allocations: 9.984 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.5544, allocations: 74.25 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5544, allocations: 1.312 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5544, allocations: 0 / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5544, allocations: 4 kB / 0.8223 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.5547, allocations: 290.2 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5547, allocations: 0 / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.5547, allocations: 12.86 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5547, allocations: 0 / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5547, allocations: 0.75 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5547, allocations: 3.281 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5547, allocations: 3.984 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5549, allocations: 188.7 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.5549, allocations: 3.625 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5549, allocations: 7.469 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.009e-05/0.5549, allocations: 0 / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.555, allocations: 5.234 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.555, allocations: 4.547 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.602e-05/0.555, allocations: 79.75 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.555, allocations: 4.062 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000167/0.5552, allocations: 24.38 kB / 0.8229 GB, free: 13.25 MB / 0.6198 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.0003547/0.5555, allocations: 0.7259 MB / 0.8236 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.5556, allocations: 35.62 kB / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5556, allocations: 4.062 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.5556, allocations: 16.14 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.5558, allocations: 3.016 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008687/0.5566, allocations: 1.327 MB / 0.825 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.5568, allocations: 0.6813 MB / 0.8256 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.5569, allocations: 7.703 kB / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.5569, allocations: 12.64 kB / 0.8257 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5569, allocations: 0 / 0.8257 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.5735, allocations: 1.706 MB / 0.8273 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.346/6.92, allocations: 4.594 kB / 0.8273 GB, free: 10.14 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_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_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: 10.085272802971303] Failed to read output from testmodel.py, exit status != 0: 6.9981753879692405 7.014915133 6.45799011 Calling exit ...