Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, 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.001566/0.001566, allocations: 192.6 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 70.12 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2918, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001931/0.2938, allocations: 0.6958 MB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.2947, allocations: 0.8009 MB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.2947, allocations: 0 / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.2948, allocations: 0 / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.2948, allocations: 3.938 kB / 0.7842 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2949, allocations: 12 kB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.295, allocations: 19.86 kB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.2951, allocations: 4 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.2951, allocations: 15.98 kB / 0.7842 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.2952, allocations: 7.984 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2952, allocations: 3.938 kB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2952, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2953, allocations: 0 / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.2953, allocations: 4 kB / 0.7842 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.402e-05/0.2954, allocations: 19.91 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2954, allocations: 4 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2954, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2954, allocations: 0 / 0.7842 GB, free: 12.38 MB / 0.6075 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.0004118/0.2958, allocations: 331.6 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2958, allocations: 8.031 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.2959, allocations: 8.875 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.296, allocations: 160.4 kB / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.296, allocations: 384 / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.296, allocations: 384 / 0.7847 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2962, allocations: 42.25 kB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2962, allocations: 192 / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2962, allocations: 3.938 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2962, allocations: 0 / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.2963, allocations: 15.98 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.2964, allocations: 161.5 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.2965, allocations: 30.5 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.2966, allocations: 12.92 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2966, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2966, allocations: 34.56 kB / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.2966, allocations: 3.938 kB / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001893/0.2968, allocations: 57.61 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.2968, allocations: 55.47 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.2969, allocations: 105.8 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2969, allocations: 25.7 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.297, allocations: 84.14 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.297, allocations: 0 / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.297, allocations: 9.719 kB / 0.7853 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2971, allocations: 318.8 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.2972, allocations: 7.984 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.2972, allocations: 8 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.2973, allocations: 20.84 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2973, allocations: 0 / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.734e-05/0.2974, allocations: 45.69 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2974, allocations: 11.98 kB / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2974, allocations: 7.875 kB / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2975, allocations: 0 / 0.7857 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.2975, allocations: 8.094 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.2975, allocations: 0 / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.2976, allocations: 0 / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2976, allocations: 256 / 0.7858 GB, free: 10.61 MB / 0.6075 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 6.24e-05/0.2976, allocations: 114.5 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.2977, allocations: 3.906 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.2977, allocations: 7.062 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2977, allocations: 4 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2977, allocations: 0 / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2977, allocations: 8 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.2978, allocations: 153.7 kB / 0.786 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2978, allocations: 0 / 0.786 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.2978, allocations: 7.984 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2979, allocations: 0 / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.2979, allocations: 3.938 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2979, allocations: 0 / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2979, allocations: 4 kB / 0.786 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.298, allocations: 73.06 kB / 0.7861 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.298, allocations: 85.03 kB / 0.7862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2981, allocations: 3.938 kB / 0.7862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.2981, allocations: 11.92 kB / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.2981, allocations: 0 / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2981, allocations: 0 / 0.7862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.2982, allocations: 83.28 kB / 0.7863 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2982, allocations: 0 / 0.7863 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000182/0.2984, allocations: 4 kB / 0.7863 GB, free: 9.949 MB / 0.6075 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.0001075/0.2985, allocations: 103.3 kB / 0.7864 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2986, allocations: 19.98 kB / 0.7864 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2986, allocations: 0 / 0.7864 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.2987, allocations: 4 kB / 0.7864 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2988, allocations: 4 kB / 0.7864 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.2991, allocations: 116.3 kB / 0.7865 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2993, allocations: 0.677 MB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.2993, allocations: 0 / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.2993, allocations: 11.44 kB / 0.7872 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2993, allocations: 0 / 0.7872 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.002075/0.3014, allocations: 243.3 kB / 0.7874 GB, free: 8.723 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)