Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001088/0.001088, 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.0008949/0.0008949, allocations: 170.3 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.8538/0.8538, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7326/0.7326, allocations: 154.6 MB / 413.7 MB, free: 0.7812 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.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.634e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001769/0.001795, allocations: 1.267 MB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.002528, allocations: 0.5137 MB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.002554, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.002573, allocations: 7.938 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.002621, allocations: 7.922 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.003123, allocations: 139.3 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.348e-05/0.003176, allocations: 11.94 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.003226, allocations: 7.969 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.003258, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.003304, allocations: 3.938 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.003319, allocations: 4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.003622, allocations: 275.4 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.003639, allocations: 3.938 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.003657, allocations: 4 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.003857, allocations: 147.6 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.00386, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003861, allocations: 3.938 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.003866, allocations: 0 / 0.6204 GB, free: 11.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003473/0.004213, allocations: 270 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.004256, allocations: 12.03 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.004284, allocations: 30.75 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.004306, allocations: 4.938 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.004393, allocations: 109.8 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.004406, allocations: 4.359 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.004412, allocations: 384 / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.891e-05/0.004501, allocations: 34.2 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004509, allocations: 192 / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.004517, allocations: 384 / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004522, allocations: 4.125 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.004546, allocations: 4 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.004681, allocations: 128.7 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.00474, allocations: 26.61 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.004757, allocations: 8.922 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.004784, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.004806, allocations: 34.5 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.004806, allocations: 0 / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001368/0.004943, allocations: 45.69 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.004977, allocations: 55.34 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.005028, allocations: 93.86 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.005038, allocations: 25.7 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.005066, allocations: 84.39 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.005095, allocations: 7.953 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.005119, allocations: 13.72 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.005211, allocations: 314.8 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.005224, allocations: 7.938 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.005233, allocations: 3.938 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.005259, allocations: 16.8 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005261, allocations: 4 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.4e-05/0.005305, allocations: 37.7 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.005318, allocations: 9.953 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005323, allocations: 4 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005334, allocations: 0 / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.005472, allocations: 11.94 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002759/0.005748, allocations: 0.5821 MB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.005761, allocations: 8.016 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005767, allocations: 0 / 0.6224 GB, free: 9.066 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.005825, allocations: 106.8 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.005832, allocations: 7.938 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.352e-05/0.005915, allocations: 53.05 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005917, allocations: 0 / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.005922, allocations: 4 kB / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005925, allocations: 0 / 0.6225 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.72e-05/0.005992, allocations: 120.8 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005993, allocations: 3.938 kB / 0.6226 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.006044, allocations: 15.92 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006046, allocations: 0 / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.006052, allocations: 0 / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002008/0.006253, allocations: 0.586 MB / 0.6232 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006254, allocations: 4.031 kB / 0.6232 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.736e-05/0.006301, allocations: 65.06 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.006308, allocations: 0 / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.006316, allocations: 7.938 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-06/0.006322, allocations: 0 / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.006334, allocations: 0 / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.006336, allocations: 0 / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.006361, allocations: 83.27 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006361, allocations: 224 / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001312/0.006493, allocations: 19.88 kB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/0.006783, allocations: 0.6046 MB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.006903, allocations: 19.92 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006905, allocations: 3.938 kB / 0.624 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.006938, allocations: 15.98 kB / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.00704, allocations: 0 / 0.624 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.007411, allocations: 134.7 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.00745, allocations: 63.33 kB / 0.6242 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.007462, allocations: 0 / 0.6242 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.007486, allocations: 12.5 kB / 0.6242 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.007487, allocations: 4 kB / 0.6242 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.02412, allocations: 1.933 MB / 0.6261 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/7.949, allocations: 7.219 kB / 0.6261 GB, free: 5.207 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.788243886083364] Failed to read output from testmodel.py, exit status != 0: 8.032855616882443 8.040587878 8.03507294 Calling exit ...