Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.001152/0.001152, allocations: 101.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.001026/0.001026, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9608/0.9608, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.7866/0.7866, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",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.0009477/0.0009477, allocations: 72.48 kB / 0.7178 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4726, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001593/0.4742, allocations: 0.6872 MB / 0.8181 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.4749, allocations: 0.8283 MB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.475, allocations: 0 / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.475, allocations: 9.969 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.57e-05/0.475, allocations: 5.438 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.4752, allocations: 14.44 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.4752, allocations: 39.56 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4754, allocations: 8.562 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.4754, allocations: 18.47 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.4755, allocations: 20.81 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.4755, allocations: 4.531 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.4755, allocations: 4.781 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.4755, allocations: 14.22 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.4755, allocations: 20.94 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.4756, allocations: 44.22 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4757, allocations: 0 / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4757, allocations: 1.75 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.4757, allocations: 0 / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004162/0.4761, allocations: 286.3 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4761, allocations: 9.875 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.4762, allocations: 35.31 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.4762, allocations: 7.672 kB / 0.8194 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.4763, allocations: 114.6 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4763, allocations: 2 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.4763, allocations: 2.344 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4765, allocations: 68.19 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4765, allocations: 5.844 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4765, allocations: 0.5625 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4765, allocations: 3.938 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.4766, allocations: 68.03 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.4769, allocations: 238.8 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.4771, allocations: 51.45 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.4772, allocations: 36.84 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.4772, allocations: 0.6562 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4772, allocations: 42.28 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4772, allocations: 0 / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003657/0.4776, allocations: 122.3 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4776, allocations: 56.91 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.4777, allocations: 108.6 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4777, allocations: 25.7 kB / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.4778, allocations: 96.59 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.4778, allocations: 8.656 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4778, allocations: 15.19 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.4779, allocations: 316.9 kB / 0.8207 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.203e-05/0.478, allocations: 32.28 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.4781, allocations: 35.34 kB / 0.8208 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4782, allocations: 72.83 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4782, allocations: 0 / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.4784, allocations: 95.02 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4785, allocations: 5.875 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4785, allocations: 0 / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.4785, allocations: 8.344 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4786, allocations: 16.66 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4786, allocations: 0.7031 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.4786, allocations: 19.92 kB / 0.821 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4786, allocations: 2.562 kB / 0.821 GB, free: 14.46 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 (3): * Single equations (assignments): 3 * 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.959e-05/0.4787, allocations: 122 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4787, allocations: 4.797 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.479, allocations: 108 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.479, allocations: 0.5625 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.479, allocations: 2.062 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.479, allocations: 0.5625 kB / 0.8213 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4791, allocations: 133 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4791, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.4792, allocations: 14.66 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4792, allocations: 3.969 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4792, allocations: 7.938 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4792, allocations: 0 / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4792, allocations: 0.75 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.4794, allocations: 204.9 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.4794, allocations: 2.281 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4794, allocations: 2.625 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.4795, allocations: 14.92 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4795, allocations: 10.59 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4795, allocations: 0 / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.4796, allocations: 85.48 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4796, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001501/0.4797, allocations: 5.844 kB / 0.8217 GB, free: 13.88 MB / 0.6198 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 (3): * Single equations (assignments): 3 * 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.0004107/0.4801, allocations: 0.7338 MB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4804, allocations: 64.7 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4804, allocations: 0 / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.4804, allocations: 35.27 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4807, allocations: 7.109 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.4811, allocations: 171.2 kB / 0.8227 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.274e-05/0.4811, allocations: 64.59 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.4812, allocations: 2.953 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.4812, allocations: 15.55 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.4812, allocations: 0 / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.4979, allocations: 2.19 MB / 0.8249 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.362, allocations: 2.234 kB / 0.8249 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min_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_Controls_OBC_CDL_Reals_Validation_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.327922551892698] Failed to read output from testmodel.py, exit status != 0: 7.439344421029091 7.451018404 6.973171846 Calling exit ...