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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002073/0.002074, allocations: 191.6 kB / 16.13 MB, free: 6.66 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 68.5 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4199, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002123/0.422, allocations: 0.6742 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4231, allocations: 0.81 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.4231, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.4232, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.4232, allocations: 3.938 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.4234, allocations: 15.98 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.4235, allocations: 11.94 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.4235, allocations: 11.98 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.4236, allocations: 11.92 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.4237, allocations: 8 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4237, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.4237, allocations: 4 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.4237, allocations: 3.984 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.4238, allocations: 7.938 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.218e-05/0.4239, allocations: 19.91 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4239, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4239, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4239, allocations: 0 / 1.069 GB, free: 9.305 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.0004576/0.4243, allocations: 327.7 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4244, allocations: 16.02 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.4244, allocations: 8.875 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4246, allocations: 160.4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4246, allocations: 384 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.4246, allocations: 4.375 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.4247, allocations: 38.23 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4248, allocations: 192 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4248, allocations: 3.938 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.4248, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.4249, allocations: 19.92 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.4251, allocations: 157.7 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.4251, allocations: 22.55 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.4252, allocations: 12.91 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4252, allocations: 4 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4252, allocations: 34.56 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 3.446e-06/0.4252, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002236/0.4255, allocations: 61.52 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.4255, allocations: 55.34 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.4256, allocations: 94.05 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4256, allocations: 29.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.4257, allocations: 84.14 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.4257, allocations: 3.984 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4257, allocations: 9.844 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4259, allocations: 322.8 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.4259, allocations: 7.938 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.426, allocations: 12.05 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.426, allocations: 20.84 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.426, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001083/0.4261, allocations: 45.75 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4262, allocations: 9.25 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4262, allocations: 7.875 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4262, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.4263, allocations: 7.984 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4263, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.4263, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4263, allocations: 0 / 1.071 GB, free: 7.527 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.75e-05/0.4264, allocations: 113.8 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.4264, allocations: 7.938 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.4265, allocations: 7.062 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4265, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4265, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4265, allocations: 7.984 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.4266, allocations: 149.7 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4266, allocations: 0 / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.4266, allocations: 4 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4266, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4267, allocations: 3.938 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4267, allocations: 4 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4267, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.4268, allocations: 73.05 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.4269, allocations: 77.11 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4269, allocations: 7.875 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.4269, allocations: 4 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.4269, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.427, allocations: 4.031 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.427, allocations: 91.27 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.427, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001791/0.4272, allocations: 4 kB / 1.071 GB, free: 6.879 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.0001669/0.4274, allocations: 95.25 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.4275, allocations: 19.98 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4275, allocations: 3.938 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.4275, allocations: 12.05 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.4277, allocations: 4 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.428, allocations: 108.4 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4283, allocations: 0.6731 MB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.4283, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.4283, allocations: 7.5 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4283, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.00223/0.4306, allocations: 252.8 kB / 1.072 GB, free: 5.641 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)