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.0008171/0.0008171, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0008668/0.0008668, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8937/0.8937, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7195/0.7195, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.687e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001093/0.00111, allocations: 0.606 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.001815, allocations: 0.8316 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.001842, allocations: 4 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.001867, allocations: 11.81 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.001908, allocations: 0 / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.002069, allocations: 19.91 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.002124, allocations: 11.94 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.002165, allocations: 11.92 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.002285, allocations: 15.94 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.002328, allocations: 11.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.002339, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.002373, allocations: 4 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.002383, allocations: 7.984 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.002397, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.462e-05/0.002481, allocations: 27.84 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002483, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.61e-07/0.002484, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.002488, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 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.0002837/0.002771, allocations: 254.4 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.002807, allocations: 8.031 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.002835, allocations: 38.73 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.002926, allocations: 8.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.002996, allocations: 109.8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.003005, allocations: 384 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.003013, allocations: 384 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.003106, allocations: 42.19 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003113, allocations: 192 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.00312, allocations: 384 / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.003126, allocations: 8.125 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.00316, allocations: 12 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.003275, allocations: 124.8 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.003317, allocations: 22.56 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.003341, allocations: 12.92 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.003353, allocations: 3.938 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.003369, allocations: 34.56 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.00337, allocations: 0 / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.003503, allocations: 53.75 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.003528, allocations: 63.34 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.003576, allocations: 101.8 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.003587, allocations: 25.7 kB / 0.6205 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.003611, allocations: 84.14 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.003629, allocations: 3.938 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.00365, allocations: 13.72 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.003717, allocations: 314.8 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.003738, allocations: 7.984 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.003752, allocations: 11.88 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/0.00379, allocations: 24.91 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003792, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.234e-05/0.003844, allocations: 45.69 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.003856, allocations: 8 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003859, allocations: 0 / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.003869, allocations: 0 / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.003915, allocations: 11.92 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.003918, allocations: 0 / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.003931, allocations: 4.281 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.003937, allocations: 4 kB / 0.6211 GB, free: 10.42 MB / 0.5886 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.504e-05/0.003982, allocations: 114.8 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-06/0.003987, allocations: 3.953 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.004001, allocations: 11.09 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004002, allocations: 4 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.00401, allocations: 3.938 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004012, allocations: 0 / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.189e-05/0.004074, allocations: 120.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004075, allocations: 0 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.00409, allocations: 11.98 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.00409, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.004095, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004096, allocations: 0 / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004097, allocations: 3.938 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.437e-05/0.004162, allocations: 73.11 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.004167, allocations: 3.984 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.004175, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.016e-05/0.004185, allocations: 4 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.004208, allocations: 3.938 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.00421, allocations: 4.031 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.39e-05/0.004233, allocations: 91.2 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004233, allocations: 0 / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001111/0.004345, allocations: 7.938 kB / 0.6215 GB, free: 9.898 MB / 0.5886 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.0002272/0.004572, allocations: 0.5969 MB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.004644, allocations: 15.98 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.004645, allocations: 96 / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.004665, allocations: 19.92 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.723e-05/0.004762, allocations: 7.875 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.005016, allocations: 130.6 kB / 0.6222 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.005046, allocations: 59.34 kB / 0.6223 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.645e-05/0.005063, allocations: 0 / 0.6223 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.00509, allocations: 20.44 kB / 0.6223 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/0.00509, allocations: 0 / 0.6223 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.01806, allocations: 1.757 MB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.665, allocations: 9.938 kB / 0.6241 GB, free: 7.34 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 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: 9.242781006731093] Failed to read output from testmodel.py, exit status != 0: 6.745907173492014 6.755998727 6.751837334 Calling exit ...