Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.529/1.529, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.00104/0.00104, allocations: 184.1 kB / 326.5 MB, free: 2.699 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.625/1.625, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007881/0.0007881, allocations: 92.92 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 18.14 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001985/0.2323, allocations: 1.098 MB / 0.8978 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.2328, allocations: 128.4 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.2328, allocations: 0 / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.2329, allocations: 0 / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.233, allocations: 3.984 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.2332, allocations: 11.98 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.2332, allocations: 19.94 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2333, allocations: 11.98 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.2334, allocations: 11.94 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.2335, allocations: 3.984 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2335, allocations: 4 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.2335, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.2335, allocations: 4 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.2336, allocations: 7.938 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.829e-05/0.2336, allocations: 11.95 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2336, allocations: 4 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2337, allocations: 3.938 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2337, allocations: 4 kB / 0.8981 GB, free: 66.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004479/0.2341, allocations: 340.5 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2342, allocations: 8.031 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.2342, allocations: 0.9375 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/0.2343, allocations: 172.3 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2344, allocations: 384 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2344, allocations: 384 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2347, allocations: 62.17 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2347, allocations: 4.125 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2347, allocations: 3.938 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2348, allocations: 7.984 kB / 0.8986 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.235, allocations: 43.97 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2354, allocations: 252.9 kB / 0.8989 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.2356, allocations: 38.5 kB / 0.8989 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.2358, allocations: 32.91 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2358, allocations: 0 / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.2359, allocations: 30.56 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.2359, allocations: 0 / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005458/0.2364, allocations: 105.6 kB / 0.8991 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2365, allocations: 51.41 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.2366, allocations: 101.8 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.2366, allocations: 25.7 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.2366, allocations: 84.27 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2367, allocations: 11.84 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.2367, allocations: 9.719 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.2368, allocations: 318.8 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2369, allocations: 19.98 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2371, allocations: 23.98 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2374, allocations: 44.83 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2374, allocations: 0 / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003315/0.2377, allocations: 85.59 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2378, allocations: 8 kB / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2378, allocations: 0 / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2378, allocations: 0 / 0.8999 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.238, allocations: 16.02 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.238, allocations: 0 / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.2381, allocations: 11.98 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2381, allocations: 0 / 0.8999 GB, free: 64.73 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 (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 0.0001025/0.2382, allocations: 113.8 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.2383, allocations: 7.906 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.2386, allocations: 84.72 kB / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2387, allocations: 0 / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2387, allocations: 0 / 0.9001 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2387, allocations: 7.938 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2389, allocations: 161.6 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2389, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.239, allocations: 12.03 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2391, allocations: 3.984 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2391, allocations: 4 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2391, allocations: 4 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2391, allocations: 3.938 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.2395, allocations: 171.5 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.2395, allocations: 77.11 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2395, allocations: 3.938 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2397, allocations: 11.98 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2397, allocations: 4 kB / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2398, allocations: 0 / 0.9005 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.2398, allocations: 83.31 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2398, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003856/0.2402, allocations: 4 kB / 0.9006 GB, free: 63.89 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 (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.0001587/0.2404, allocations: 103.2 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2407, allocations: 47.97 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2407, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2409, allocations: 23.98 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2413, allocations: 10.42 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.2417, allocations: 145 kB / 0.9009 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.2419, allocations: 0.677 MB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.2419, allocations: 7.438 kB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.144e-06/0.2419, allocations: 0 / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.002523/0.2445, allocations: 0.5383 MB / 0.9021 GB, free: 62.28 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)