Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.0008345/0.0008345, 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.0008697/0.0008697, allocations: 162 kB / 22.43 MB, free: 2.141 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.9255/0.9255, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7243/0.7243, allocations: 154.9 MB / 414.2 MB, free: 0.5039 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.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",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.0008009/0.0008009, allocations: 69.3 kB / 0.6187 GB, free: 12.11 MB / 0.5417 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.5076/0.5084, allocations: 102 MB / 0.7183 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00149/0.5099, allocations: 0.6423 MB / 0.7189 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007524/0.5107, allocations: 0.816 MB / 0.7197 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.5107, allocations: 4 kB / 0.7197 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.5108, allocations: 3.938 kB / 0.7197 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.5108, allocations: 7.938 kB / 0.7197 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.511, allocations: 7.984 kB / 0.7197 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.5111, allocations: 19.94 kB / 0.7197 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5112, allocations: 7.984 kB / 0.7197 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.5113, allocations: 15.98 kB / 0.7198 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.5113, allocations: 11.92 kB / 0.7198 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.5113, allocations: 4 kB / 0.7198 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.5114, allocations: 6.953 kB / 0.7198 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.5114, allocations: 4 kB / 0.7198 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.5114, allocations: 19.92 kB / 0.7198 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.5115, allocations: 27.89 kB / 0.7198 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5115, allocations: 4 kB / 0.7198 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5115, allocations: 3.938 kB / 0.7198 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5115, allocations: 0 / 0.7198 GB, free: 11.71 MB / 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.0003869/0.5119, allocations: 261.7 kB / 0.7201 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.512, allocations: 13.47 kB / 0.7201 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.512, allocations: 30.75 kB / 0.7201 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.5121, allocations: 4.891 kB / 0.7201 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.5122, allocations: 114.5 kB / 0.7202 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.5122, allocations: 384 / 0.7202 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.5122, allocations: 8.359 kB / 0.7202 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5124, allocations: 46.23 kB / 0.7203 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5124, allocations: 7.938 kB / 0.7203 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5124, allocations: 0 / 0.7203 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5124, allocations: 0 / 0.7203 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.5125, allocations: 31.91 kB / 0.7203 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.5128, allocations: 220.1 kB / 0.7205 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.5128, allocations: 38.5 kB / 0.7206 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.5129, allocations: 24.89 kB / 0.7206 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.5129, allocations: 0 / 0.7206 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.5129, allocations: 34.56 kB / 0.7206 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.5129, allocations: 0 / 0.7206 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.5132, allocations: 85.58 kB / 0.7207 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5132, allocations: 55.41 kB / 0.7208 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.5132, allocations: 93.86 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.5133, allocations: 29.7 kB / 0.7209 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.5133, allocations: 88.03 kB / 0.721 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.5133, allocations: 11.92 kB / 0.721 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.5133, allocations: 9.719 kB / 0.721 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.5134, allocations: 314.8 kB / 0.7213 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.5135, allocations: 19.98 kB / 0.7213 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.5135, allocations: 20.11 kB / 0.7213 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.5136, allocations: 44.75 kB / 0.7214 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5136, allocations: 3.938 kB / 0.7214 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.5137, allocations: 69.61 kB / 0.7214 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5137, allocations: 4 kB / 0.7214 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5137, allocations: 4.094 kB / 0.7214 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5137, allocations: 3.938 kB / 0.7215 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.5138, allocations: 8 kB / 0.7215 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5138, allocations: 3.984 kB / 0.7215 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.5138, allocations: 4 kB / 0.7215 GB, free: 9.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5138, allocations: 0 / 0.7215 GB, free: 9.84 MB / 0.6042 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 6.724e-05/0.5139, allocations: 114.8 kB / 0.7216 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.5139, allocations: 4 kB / 0.7216 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.514, allocations: 80.84 kB / 0.7217 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.514, allocations: 0 / 0.7217 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.514, allocations: 0 / 0.7217 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.514, allocations: 4 kB / 0.7217 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.5142, allocations: 128.7 kB / 0.7218 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5142, allocations: 0 / 0.7218 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.5142, allocations: 4 kB / 0.7218 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5142, allocations: 4 kB / 0.7218 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.5142, allocations: 0 / 0.7218 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5142, allocations: 0 / 0.7218 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5142, allocations: 8.016 kB / 0.7218 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.5143, allocations: 163.4 kB / 0.722 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.5143, allocations: 7.938 kB / 0.722 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.5144, allocations: 4 kB / 0.722 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.5144, allocations: 0 / 0.722 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.5144, allocations: 12.17 kB / 0.722 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.5144, allocations: 0 / 0.722 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.5145, allocations: 83.27 kB / 0.7221 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5145, allocations: 4.031 kB / 0.7221 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001383/0.5146, allocations: 4 kB / 0.7221 GB, free: 9.156 MB / 0.6042 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.0003706/0.515, allocations: 0.6851 MB / 0.7227 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5151, allocations: 43.89 kB / 0.7228 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5151, allocations: 4.031 kB / 0.7228 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.5152, allocations: 23.98 kB / 0.7228 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5154, allocations: 0 / 0.7228 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.5158, allocations: 143.7 kB / 0.7229 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.5158, allocations: 59.36 kB / 0.723 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.5158, allocations: 3.938 kB / 0.723 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.5159, allocations: 16.48 kB / 0.723 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.5159, allocations: 4.062 kB / 0.723 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.5328, allocations: 1.951 MB / 0.7249 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/7.131, allocations: 5.266 kB / 0.7249 GB, free: 6.27 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin_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_Asin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.93196934799198] Failed to read output from testmodel.py, exit status != 0: 7.207985327928327 7.220619842 6.707296969 Calling exit ...