Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0008319/0.0008319, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0009971/0.0009971, allocations: 217.2 kB / 22.25 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.918/0.918, allocations: 230.6 MB / 256 MB, free: 9.602 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.77/0.77, allocations: 203.5 MB / 0.5039 GB, free: 10.25 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.0009956/0.0009956, allocations: 67.52 kB / 0.7178 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5117, allocations: 102 MB / 0.8174 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001275/0.513, allocations: 0.5965 MB / 0.818 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.5136, allocations: 0.8362 MB / 0.8188 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.5137, allocations: 0 / 0.8188 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.5137, allocations: 4.641 kB / 0.8188 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.5137, allocations: 5.75 kB / 0.8188 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.5139, allocations: 13.19 kB / 0.8188 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.514, allocations: 29.72 kB / 0.8189 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.514, allocations: 2.328 kB / 0.8189 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.5142, allocations: 16.06 kB / 0.8189 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.5142, allocations: 5.906 kB / 0.8189 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.5142, allocations: 2.625 kB / 0.8189 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.5143, allocations: 11.69 kB / 0.8189 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.5143, allocations: 5.156 kB / 0.8189 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.5143, allocations: 7.75 kB / 0.8189 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.5144, allocations: 21.97 kB / 0.8189 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5144, allocations: 1.281 kB / 0.8189 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5144, allocations: 0 / 0.8189 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.5144, allocations: 0 / 0.8189 GB, free: 20 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003394/0.5148, allocations: 255.6 kB / 0.8192 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5148, allocations: 9.781 kB / 0.8192 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.5148, allocations: 31.31 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.5149, allocations: 22.17 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.515, allocations: 107.1 kB / 0.8193 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.515, allocations: 384 / 0.8193 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.515, allocations: 4.906 kB / 0.8193 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.5151, allocations: 36.09 kB / 0.8194 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5151, allocations: 4.641 kB / 0.8194 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.5151, allocations: 0 / 0.8194 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5151, allocations: 0 / 0.8194 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.5152, allocations: 16.27 kB / 0.8194 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.5153, allocations: 128.6 kB / 0.8195 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/0.5154, allocations: 23.92 kB / 0.8195 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.5154, allocations: 12.2 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.5154, allocations: 0 / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.5154, allocations: 33.44 kB / 0.8196 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.5154, allocations: 0 / 0.8196 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.5156, allocations: 58.78 kB / 0.8196 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.5156, allocations: 54.91 kB / 0.8197 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.5157, allocations: 108.2 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.5157, allocations: 29.2 kB / 0.8198 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.5157, allocations: 80.7 kB / 0.8199 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.5157, allocations: 4.562 kB / 0.8199 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5157, allocations: 16.02 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.5158, allocations: 312.5 kB / 0.8202 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.5158, allocations: 8.219 kB / 0.8202 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.5159, allocations: 8.234 kB / 0.8202 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.5159, allocations: 22.48 kB / 0.8203 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5159, allocations: 3.938 kB / 0.8203 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.874e-05/0.516, allocations: 53.14 kB / 0.8203 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.516, allocations: 8.156 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.516, allocations: 0.7031 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.516, allocations: 256 / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.5161, allocations: 4.297 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5161, allocations: 7.984 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.5161, allocations: 3.438 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5161, allocations: 4.594 kB / 0.8203 GB, free: 14.56 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 (1): * Single equations (assignments): 1 * 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 4.899e-05/0.5161, allocations: 108.2 kB / 0.8204 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-06/0.5161, allocations: 5.844 kB / 0.8204 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.5162, allocations: 16.2 kB / 0.8205 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5162, allocations: 0 / 0.8205 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5162, allocations: 0 / 0.8205 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.5162, allocations: 0 / 0.8205 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.223e-05/0.5162, allocations: 119 kB / 0.8206 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5162, allocations: 0.75 kB / 0.8206 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.5162, allocations: 2.984 kB / 0.8206 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.5162, allocations: 10.91 kB / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.5163, allocations: 0 / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5163, allocations: 4.453 kB / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5163, allocations: 0 / 0.8206 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.5163, allocations: 76.41 kB / 0.8207 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.5163, allocations: 4 kB / 0.8207 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5164, allocations: 4.828 kB / 0.8207 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.5164, allocations: 3.953 kB / 0.8207 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.5164, allocations: 1.406 kB / 0.8207 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.5164, allocations: 3.938 kB / 0.8207 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.5164, allocations: 88.89 kB / 0.8208 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5164, allocations: 0 / 0.8208 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001227/0.5165, allocations: 0 / 0.8208 GB, free: 14.11 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 (1): * Single equations (assignments): 1 * 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.0002624/0.5168, allocations: 0.6072 MB / 0.8214 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.5169, allocations: 13.97 kB / 0.8214 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5169, allocations: 0 / 0.8214 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.197e-05/0.5169, allocations: 17.09 kB / 0.8214 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.517, allocations: 0.7969 kB / 0.8214 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.5173, allocations: 141.4 kB / 0.8215 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.74e-05/0.5174, allocations: 58.23 kB / 0.8216 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.5174, allocations: 0.5 kB / 0.8216 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.5174, allocations: 16.33 kB / 0.8216 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5174, allocations: 3.938 kB / 0.8216 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.5346, allocations: 1.621 MB / 0.8232 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/7.268, allocations: 7.391 kB / 0.8232 GB, free: 12.42 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.133969936985523] Failed to read output from testmodel.py, exit status != 0: 7.345727886073291 7.360259881 6.843720171 Calling exit ...