Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0008368/0.0008368, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009214/0.0009214, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9134/0.9134, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.748/0.748, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.138e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001495/0.001516, allocations: 0.651 MB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.002383, allocations: 0.8587 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.002415, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.002439, allocations: 3.938 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.002496, allocations: 3.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.00267, allocations: 11.98 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.002734, allocations: 23.92 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.002822, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.002886, allocations: 19.91 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.002917, allocations: 8 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.002936, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.002976, allocations: 11.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.002991, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.003007, allocations: 7.938 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.003101, allocations: 31.88 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003104, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003105, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003109, allocations: 0 / 0.6198 GB, free: 11.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000335/0.003444, allocations: 254.4 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.003489, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.003524, allocations: 38.69 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.003596, allocations: 12.89 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.076e-05/0.003677, allocations: 101.8 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.003688, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.003697, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.003832, allocations: 50.23 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.00384, allocations: 192 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003848, allocations: 384 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.003855, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.414e-05/0.003949, allocations: 35.95 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.004267, allocations: 216 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.004357, allocations: 38.59 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.004402, allocations: 16.91 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.004425, allocations: 4 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.004448, allocations: 38.5 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004449, allocations: 0 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.004692, allocations: 89.53 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.004727, allocations: 55.34 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.004797, allocations: 101.8 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.004809, allocations: 25.7 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.004861, allocations: 92.08 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.004879, allocations: 3.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.004904, allocations: 13.72 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.004985, allocations: 310.8 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.00503, allocations: 24.09 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.005065, allocations: 19.92 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.481e-05/0.00514, allocations: 36.83 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.005142, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.005244, allocations: 73.53 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005257, allocations: 8.094 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005261, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.005274, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.005337, allocations: 7.984 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005341, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.005363, allocations: 7.984 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.005367, allocations: 0 / 0.6214 GB, free: 10.09 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 (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 5.302e-05/0.00542, allocations: 110.8 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.005435, allocations: 4.125 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.005567, allocations: 80.92 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.00557, allocations: 7.922 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005575, allocations: 4 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005577, allocations: 0 / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.972e-05/0.005677, allocations: 124.8 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005678, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.005705, allocations: 11.98 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.005708, allocations: 3.938 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.005715, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005715, allocations: 4.031 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.005716, allocations: 0 / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.005841, allocations: 159.5 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.005848, allocations: 11.94 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.005858, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.005894, allocations: 7.984 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.005925, allocations: 3.938 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.005927, allocations: 0 / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.005952, allocations: 83.31 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005952, allocations: 3.938 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001419/0.006094, allocations: 11.98 kB / 0.622 GB, free: 9.395 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 (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.0002942/0.006388, allocations: 0.689 MB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.006504, allocations: 31.97 kB / 0.6227 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006506, allocations: 4.094 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.006546, allocations: 27.91 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.006743, allocations: 1.875 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.007051, allocations: 130.6 kB / 0.6229 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.007096, allocations: 63.34 kB / 0.6229 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.611e-05/0.007112, allocations: 3.938 kB / 0.6229 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.007145, allocations: 12.56 kB / 0.6229 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.007145, allocations: 4 kB / 0.6229 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.02154, allocations: 1.925 MB / 0.6248 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/6.542, allocations: 3.938 kB / 0.6248 GB, free: 6.551 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.257865502499044] Failed to read output from testmodel.py, exit status != 0: 6.618518732488155 6.626782985 6.622128595 Calling exit ...