Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 97.33 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008482/0.008483, allocations: 172.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 13.94 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3936, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0009625/0.3946, allocations: 355.3 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.3956, allocations: 0.8061 MB / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.3957, allocations: 0 / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.3957, allocations: 0 / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.3958, allocations: 0 / 1.075 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.3959, allocations: 19.92 kB / 1.075 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.396, allocations: 12 kB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.69e-05/0.3961, allocations: 4 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.3962, allocations: 19.86 kB / 1.075 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.3962, allocations: 4 kB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3963, allocations: 0 / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.3963, allocations: 0 / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.3963, allocations: 7.984 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.3964, allocations: 37.62 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.802e-05/0.3964, allocations: 11.92 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3964, allocations: 0 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3964, allocations: 0 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3965, allocations: 3.938 kB / 1.075 GB, free: 6.254 MB / 0.8262 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.0004247/0.3969, allocations: 327.8 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3969, allocations: 12.03 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.397, allocations: 4.844 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.3971, allocations: 164.4 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3971, allocations: 4.375 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.3971, allocations: 384 / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3973, allocations: 42.19 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3973, allocations: 4.188 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3973, allocations: 7.938 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3973, allocations: 0 / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.3974, allocations: 15.98 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.3976, allocations: 149.7 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.3977, allocations: 22.61 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.3977, allocations: 24.91 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3977, allocations: 0 / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3978, allocations: 30.56 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3978, allocations: 3.938 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002333/0.398, allocations: 65.72 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3981, allocations: 51.41 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.3982, allocations: 105.8 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3982, allocations: 25.7 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3982, allocations: 84.14 kB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.3983, allocations: 3.906 kB / 1.076 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.3983, allocations: 9.719 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3985, allocations: 318.8 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.3985, allocations: 15.97 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.3985, allocations: 7.984 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.3986, allocations: 28.8 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3986, allocations: 0 / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001192/0.3988, allocations: 57.73 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3988, allocations: 4 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3988, allocations: 3.938 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3988, allocations: 3.984 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.3989, allocations: 4 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3989, allocations: 0 / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.3989, allocations: 4 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3989, allocations: 3.984 kB / 1.077 GB, free: 4.449 MB / 0.8262 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 7.548e-05/0.399, allocations: 113.9 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.399, allocations: 0 / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.3991, allocations: 7.062 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3991, allocations: 0 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3991, allocations: 3.938 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3991, allocations: 0 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3992, allocations: 153.7 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3992, allocations: 0 / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.3993, allocations: 11.92 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3993, allocations: 4 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3993, allocations: 7.938 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3993, allocations: 0 / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3993, allocations: 0 / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.3994, allocations: 73.03 kB / 1.077 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3995, allocations: 77.11 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3995, allocations: 11.95 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.3996, allocations: 4 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.3996, allocations: 0 / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3996, allocations: 0 / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.3996, allocations: 83.28 kB / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3996, allocations: 0 / 1.077 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001737/0.3998, allocations: 7.984 kB / 1.077 GB, free: 3.805 MB / 0.8262 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.0001639/0.4, allocations: 99.25 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4001, allocations: 27.92 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4001, allocations: 3.938 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.4002, allocations: 8 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.4003, allocations: 0 / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.4006, allocations: 120.8 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4009, allocations: 0.677 MB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.401, allocations: 0 / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.401, allocations: 7.438 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.401, allocations: 0 / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of Templates: time 0.002329/0.4033, allocations: 241.3 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1)