Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008298/0.0008298, 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.0008396/0.0008396, 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.8507/0.8507, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.674/0.674, allocations: 154.7 MB / 413.9 MB, free: 0.7617 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.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",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.0009257/0.0009257, allocations: 68.5 kB / 0.6183 GB, free: 12.55 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3935, allocations: 102 MB / 0.7179 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001302/0.3948, allocations: 0.5723 MB / 0.7184 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3959, allocations: 1.137 MB / 0.7195 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3959, allocations: 4 kB / 0.7195 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.396, allocations: 3.938 kB / 0.7195 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.396, allocations: 3.938 kB / 0.7195 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.3965, allocations: 126.1 kB / 0.7197 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3966, allocations: 95.88 kB / 0.7197 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.3967, allocations: 0 / 0.7197 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.3968, allocations: 47.91 kB / 0.7198 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.3969, allocations: 39.81 kB / 0.7198 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3969, allocations: 8 kB / 0.7198 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.3969, allocations: 15.94 kB / 0.7199 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3969, allocations: 4 kB / 0.7199 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.397, allocations: 31.91 kB / 0.7199 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.3971, allocations: 99.83 kB / 0.72 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3971, allocations: 3.938 kB / 0.72 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3971, allocations: 0 / 0.72 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3971, allocations: 0 / 0.72 GB, free: 11.57 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003402/0.3975, allocations: 303.9 kB / 0.7203 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3975, allocations: 8.031 kB / 0.7203 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.3975, allocations: 34.75 kB / 0.7203 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3976, allocations: 12.89 kB / 0.7203 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.3976, allocations: 102.5 kB / 0.7204 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3976, allocations: 4.375 kB / 0.7204 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3977, allocations: 4.375 kB / 0.7204 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.3978, allocations: 67.95 kB / 0.7205 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3978, allocations: 7.922 kB / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3978, allocations: 4 kB / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3978, allocations: 0 / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.3978, allocations: 3.938 kB / 0.7205 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.3981, allocations: 247.9 kB / 0.7208 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.3981, allocations: 26.52 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.3982, allocations: 4.859 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.3982, allocations: 0 / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.3986, allocations: 97.05 kB / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3986, allocations: 0 / 0.7209 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001792/0.3987, allocations: 61.69 kB / 0.7209 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3988, allocations: 51.41 kB / 0.721 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.3988, allocations: 105.8 kB / 0.7211 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3989, allocations: 29.7 kB / 0.7211 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3989, allocations: 88.14 kB / 0.7212 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.3989, allocations: 7.938 kB / 0.7212 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3989, allocations: 29.7 kB / 0.7212 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.399, allocations: 314.8 kB / 0.7215 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.3991, allocations: 53.69 kB / 0.7216 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.3991, allocations: 88.19 kB / 0.7217 GB, free: 9.617 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.3992, allocations: 84.2 kB / 0.7217 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3992, allocations: 0 / 0.7217 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001698/0.3994, allocations: 181.3 kB / 0.7219 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3994, allocations: 36.19 kB / 0.722 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3994, allocations: 7.938 kB / 0.722 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3994, allocations: 0 / 0.722 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.615e-05/0.3994, allocations: 7.938 kB / 0.722 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3994, allocations: 12.03 kB / 0.722 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3996, allocations: 23.97 kB / 0.722 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3996, allocations: 7.984 kB / 0.722 GB, free: 9.227 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.016e-05/0.3996, allocations: 118.8 kB / 0.7221 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.3996, allocations: 4 kB / 0.7221 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.3997, allocations: 4 kB / 0.7221 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3997, allocations: 0 / 0.7221 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3997, allocations: 0 / 0.7221 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3997, allocations: 4 kB / 0.7221 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.3997, allocations: 140.7 kB / 0.7223 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.3997, allocations: 0 / 0.7223 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-06/0.3997, allocations: 0 / 0.7223 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.3997, allocations: 0 / 0.7223 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3998, allocations: 3.984 kB / 0.7223 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.3998, allocations: 0 / 0.7223 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.3998, allocations: 4 kB / 0.7223 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.841e-05/0.3998, allocations: 89.17 kB / 0.7224 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.3998, allocations: 4 kB / 0.7224 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.3998, allocations: 0 / 0.7224 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.3998, allocations: 4 kB / 0.7224 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.3999, allocations: 7.984 kB / 0.7224 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3999, allocations: 0 / 0.7224 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.3999, allocations: 83.28 kB / 0.7225 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3999, allocations: 0 / 0.7225 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001327/0.4, allocations: 16 kB / 0.7225 GB, free: 8.68 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002467/0.4003, allocations: 0.6201 MB / 0.7231 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4004, allocations: 137.1 kB / 0.7232 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4004, allocations: 4.188 kB / 0.7232 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.4005, allocations: 8 kB / 0.7232 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4006, allocations: 11.98 kB / 0.7232 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/0.4015, allocations: 1.494 MB / 0.7247 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.4015, allocations: 63.34 kB / 0.7248 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.4016, allocations: 0 / 0.7248 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.4016, allocations: 16.5 kB / 0.7248 GB, free: 6.137 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.4016, allocations: 3.938 kB / 0.7248 GB, free: 6.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.4163, allocations: 2.713 MB / 0.7274 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/7.033, allocations: 4.766 kB / 0.7274 GB, free: 3.574 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert_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_Utilities_Validation_Assert.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.61660004791338] Failed to read output from testmodel.py, exit status != 0: 7.11025798600167 7.119840089 6.720899532 Calling exit ...