Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 178.9 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 82.33 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.000545, allocations: 12.97 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2156, allocations: 106.3 MB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001237/0.2169, allocations: 1.038 MB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002498/0.2171, allocations: 125.8 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.2172, allocations: 0 / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2172, allocations: 4 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.2173, allocations: 3.938 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.2174, allocations: 0 / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.532e-05/0.2174, allocations: 19.92 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.2175, allocations: 0 / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.2176, allocations: 15.98 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.2176, allocations: 11.92 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2177, allocations: 0 / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.2177, allocations: 0 / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-06/0.2177, allocations: 3.938 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.2177, allocations: 29.7 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.16e-05/0.2178, allocations: 11.97 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2178, allocations: 4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2178, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2178, allocations: 0 / 0.9021 GB, free: 62.59 MB / 0.6042 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.0003269/0.2181, allocations: 327.3 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2182, allocations: 8.031 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.2182, allocations: 4 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.2183, allocations: 171.2 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2184, allocations: 0 / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.2184, allocations: 3.938 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2185, allocations: 41.69 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2185, allocations: 4 kB / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2185, allocations: 0 / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2185, allocations: 0 / 0.9026 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.2186, allocations: 15.98 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.2187, allocations: 157.6 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.481e-05/0.2188, allocations: 30.55 kB / 0.9028 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.2188, allocations: 16.91 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2189, allocations: 7.984 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2189, allocations: 30.56 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2189, allocations: 0 / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002/0.2191, allocations: 61.77 kB / 0.9029 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.2191, allocations: 51.41 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.208e-05/0.2192, allocations: 105.8 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.2192, allocations: 25.7 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.2192, allocations: 84.12 kB / 0.9032 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2193, allocations: 7.938 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.2193, allocations: 0 / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.2193, allocations: 318.8 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.2194, allocations: 8.031 kB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.2194, allocations: 11.98 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.2194, allocations: 11.95 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2194, allocations: 4 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.55e-05/0.2195, allocations: 49.75 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2196, allocations: 7.984 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2196, allocations: 0 / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2196, allocations: 0 / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.2197, allocations: 4 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2197, allocations: 0 / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.2197, allocations: 7.906 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2197, allocations: 7.875 kB / 0.9036 GB, free: 60.82 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.2198, allocations: 121.8 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.2198, allocations: 4 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.2198, allocations: 3.125 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2198, allocations: 4.188 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2198, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2198, allocations: 4 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.687e-05/0.2199, allocations: 153.7 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2199, allocations: 3.953 kB / 0.9039 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.2199, allocations: 7.984 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.22, allocations: 0 / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.22, allocations: 4 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.22, allocations: 0 / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.22, allocations: 4 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.2201, allocations: 69.12 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.855e-05/0.2201, allocations: 81.06 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2201, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.2202, allocations: 12.02 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.2202, allocations: 3.938 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2202, allocations: 0 / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.2202, allocations: 83.28 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2202, allocations: 0 / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001691/0.2204, allocations: 4 kB / 0.9041 GB, free: 60.17 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.967e-05/0.2205, allocations: 99.23 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2206, allocations: 27.98 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2207, allocations: 0 / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.2207, allocations: 8 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.2208, allocations: 0 / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.2211, allocations: 154.3 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.2212, allocations: 0.6809 MB / 0.9051 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.2212, allocations: 7.438 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2212, allocations: 0 / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.001458/0.2227, allocations: 459.7 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)