Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.001102/0.001102, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001053/0.001053, allocations: 162 kB / 22.43 MB, free: 2.145 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.8965/0.8965, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7314/0.7314, allocations: 154.9 MB / 414.2 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",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.0008888/0.0008888, allocations: 70.39 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5178/0.5187, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001698/0.5204, allocations: 0.6844 MB / 0.7189 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.5214, allocations: 0.821 MB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.5215, allocations: 4 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.5215, allocations: 5.031 kB / 0.7197 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.5216, allocations: 14.31 kB / 0.7198 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.909e-05/0.5217, allocations: 9.234 kB / 0.7198 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.5218, allocations: 47.41 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.522, allocations: 12.98 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.5221, allocations: 28.91 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.5222, allocations: 18 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.5222, allocations: 3.125 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.5222, allocations: 4.344 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.5222, allocations: 15.47 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.5223, allocations: 12.94 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.5224, allocations: 47.05 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5224, allocations: 0 / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.746e-06/0.5224, allocations: 0 / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5224, allocations: 0 / 0.72 GB, free: 21.97 MB / 0.6355 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.000441/0.5229, allocations: 289.1 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.5229, allocations: 12.08 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.523, allocations: 39.25 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.523, allocations: 11.55 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.099e-05/0.5231, allocations: 106.7 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5231, allocations: 1.5 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.5231, allocations: 2.719 kB / 0.7204 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.5233, allocations: 69.31 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.5233, allocations: 3.938 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5233, allocations: 3.984 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5233, allocations: 1.969 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.5235, allocations: 65.36 kB / 0.7205 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.5238, allocations: 240.2 kB / 0.7208 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.524, allocations: 51.02 kB / 0.7208 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.524, allocations: 47.17 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.5241, allocations: 9.719 kB / 0.7209 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5241, allocations: 31.75 kB / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.5241, allocations: 0 / 0.7209 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003251/0.5244, allocations: 128.6 kB / 0.721 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.5244, allocations: 53.03 kB / 0.7211 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.5245, allocations: 111.8 kB / 0.7212 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.5245, allocations: 33.64 kB / 0.7212 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.5245, allocations: 87.38 kB / 0.7213 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.5245, allocations: 13.7 kB / 0.7213 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.5246, allocations: 17.09 kB / 0.7213 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.5246, allocations: 314.4 kB / 0.7216 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.5247, allocations: 31.69 kB / 0.7216 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.5248, allocations: 30.48 kB / 0.7217 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.5249, allocations: 74.33 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5249, allocations: 5.062 kB / 0.7218 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001916/0.5251, allocations: 93.02 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5251, allocations: 6.312 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5252, allocations: 4.562 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5252, allocations: 0 / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.5253, allocations: 15.55 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5253, allocations: 1.219 kB / 0.7219 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.5253, allocations: 16.38 kB / 0.7219 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.5253, allocations: 0 / 0.7219 GB, free: 20.35 MB / 0.6355 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 5.68e-05/0.5254, allocations: 114.8 kB / 0.722 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.5254, allocations: 4.984 kB / 0.722 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.5254, allocations: 14.53 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5254, allocations: 1.094 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5254, allocations: 0 / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5254, allocations: 2.094 kB / 0.722 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.5255, allocations: 132.6 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5255, allocations: 0.5625 kB / 0.7221 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.5256, allocations: 23.55 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5256, allocations: 0.8438 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5256, allocations: 1.062 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5256, allocations: 0 / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5256, allocations: 4.328 kB / 0.7222 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.5258, allocations: 203.3 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.5258, allocations: 2.078 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5258, allocations: 5.5 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.5259, allocations: 11.59 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.526, allocations: 3.734 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.526, allocations: 1.062 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.526, allocations: 97.19 kB / 0.7225 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.526, allocations: 0 / 0.7225 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001462/0.5261, allocations: 5.625 kB / 0.7225 GB, free: 19.8 MB / 0.6355 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.0003525/0.5265, allocations: 0.7271 MB / 0.7232 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.5267, allocations: 74.3 kB / 0.7233 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5267, allocations: 0 / 0.7233 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.5268, allocations: 37.92 kB / 0.7233 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.527, allocations: 13.22 kB / 0.7233 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.5274, allocations: 158.1 kB / 0.7235 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.815e-05/0.5274, allocations: 68.75 kB / 0.7235 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.5275, allocations: 1.906 kB / 0.7235 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.5275, allocations: 14.12 kB / 0.7235 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of SimCode: time 8.987e-06/0.5275, allocations: 1.031 kB / 0.7235 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.5438, allocations: 2.304 MB / 0.7258 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/7.302, allocations: 1.281 kB / 0.7258 GB, free: 17.94 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.121641849982552] Failed to read output from testmodel.py, exit status != 0: 7.379148131934926 7.388839149 6.8646162649999996 Calling exit ...