Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0008287/0.0008287, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009914/0.0009914, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9257/0.9257, allocations: 230.6 MB / 256 MB, free: 9.59 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.7632/0.7632, 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.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",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.0009966/0.0009966, allocations: 66.27 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4715, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0013/0.4728, allocations: 0.6469 MB / 0.8181 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006194/0.4735, allocations: 0.8425 MB / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.4735, allocations: 0 / 0.8189 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.4735, allocations: 4 kB / 0.8189 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.4736, allocations: 5.625 kB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.4737, allocations: 13.92 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.4738, allocations: 25.61 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.4739, allocations: 4.203 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.4739, allocations: 12.55 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.474, allocations: 8.219 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.474, allocations: 1 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.474, allocations: 6.016 kB / 0.819 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.474, allocations: 4.609 kB / 0.819 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.474, allocations: 15.8 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.4741, allocations: 27.05 kB / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4741, allocations: 0 / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4741, allocations: 0 / 0.819 GB, free: 164 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4741, allocations: 0 / 0.819 GB, free: 164 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003107/0.4745, allocations: 264 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4745, allocations: 9.156 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.4745, allocations: 39.3 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.4746, allocations: 5.328 kB / 0.8193 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.187e-05/0.4747, allocations: 113.1 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.4747, allocations: 6.156 kB / 0.8194 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.4747, allocations: 8.312 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.4748, allocations: 46.53 kB / 0.8195 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4748, allocations: 3.938 kB / 0.8195 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4748, allocations: 4 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4748, allocations: 3.406 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.4749, allocations: 34.8 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.4752, allocations: 216.2 kB / 0.8197 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.4753, allocations: 39.22 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.4753, allocations: 23.39 kB / 0.8198 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.4753, allocations: 1.344 kB / 0.8198 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4753, allocations: 33.5 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4753, allocations: 0 / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/0.4756, allocations: 85.84 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4756, allocations: 53.19 kB / 0.8199 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.4756, allocations: 103.2 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.4757, allocations: 25.7 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.4757, allocations: 80.94 kB / 0.8201 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4757, allocations: 4.609 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.4757, allocations: 16.97 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.4758, allocations: 314.5 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.4758, allocations: 14.16 kB / 0.8205 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.4759, allocations: 21.39 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.476, allocations: 40.94 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.476, allocations: 5.312 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001052/0.4761, allocations: 72.34 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4761, allocations: 5.625 kB / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4761, allocations: 0 / 0.8206 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.4761, allocations: 4.094 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.4762, allocations: 8.906 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4762, allocations: 0 / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.4762, allocations: 8.281 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4762, allocations: 4 kB / 0.8206 GB, free: 14.6 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 (2): * Single equations (assignments): 2 * 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.602e-05/0.4763, allocations: 111 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.4763, allocations: 2.734 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.4764, allocations: 83.66 kB / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4764, allocations: 0 / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4764, allocations: 1.438 kB / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4764, allocations: 0.5625 kB / 0.8208 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.83e-05/0.4765, allocations: 129.8 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4765, allocations: 0.6562 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.4766, allocations: 11.53 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4766, allocations: 0 / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4766, allocations: 5.125 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4766, allocations: 4.75 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4766, allocations: 0 / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.4767, allocations: 164.8 kB / 0.8211 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-06/0.4767, allocations: 4.703 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.4767, allocations: 2.25 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.4767, allocations: 13.66 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.4768, allocations: 2.312 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4768, allocations: 4.109 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.4768, allocations: 78.45 kB / 0.8212 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4768, allocations: 0 / 0.8212 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001437/0.477, allocations: 6.688 kB / 0.8212 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * 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.000318/0.4773, allocations: 0.6922 MB / 0.8219 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4774, allocations: 38.16 kB / 0.822 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4774, allocations: 0 / 0.822 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.4775, allocations: 24.08 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.4777, allocations: 6.766 kB / 0.822 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.478, allocations: 133.3 kB / 0.8221 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.478, allocations: 59.64 kB / 0.8222 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.4781, allocations: 3.406 kB / 0.8222 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4781, allocations: 7.438 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4781, allocations: 0 / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.4941, allocations: 1.803 MB / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.247, allocations: 1.656 kB / 0.8239 GB, free: 12.27 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.126716196071357] Failed to read output from testmodel.py, exit status != 0: 7.324151227250695 7.337447654 6.861141362 Calling exit ...