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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.7 MB / 0.5094 GB, free: 3.125 MB / 414.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.00148/0.00148, allocations: 67.91 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 104.7 MB / 0.8281 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002359/0.245, allocations: 1.317 MB / 0.8294 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003244/0.2453, allocations: 128.8 kB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.2454, allocations: 4 kB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.2454, allocations: 3.938 kB / 0.8295 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.2455, allocations: 3.938 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.2456, allocations: 4 kB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.2457, allocations: 19.92 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.2458, allocations: 11.98 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.153e-05/0.2459, allocations: 7.984 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.2459, allocations: 11.94 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.246, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.246, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.246, allocations: 0 / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.246, allocations: 11.92 kB / 0.8296 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.2461, allocations: 23.84 kB / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2461, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2461, allocations: 0 / 0.8296 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2461, allocations: 4 kB / 0.8296 GB, free: 14.66 MB / 0.6544 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.0004068/0.2466, allocations: 331.4 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2466, allocations: 12.03 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.2466, allocations: 4.891 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2468, allocations: 168.4 kB / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2468, allocations: 384 / 0.8301 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2468, allocations: 4.375 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.2469, allocations: 34.25 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.247, allocations: 4.188 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.247, allocations: 11.88 kB / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.247, allocations: 0 / 0.8301 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.2471, allocations: 11.98 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.2472, allocations: 153.7 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.746e-05/0.2473, allocations: 22.55 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.2474, allocations: 16.91 kB / 0.8303 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.2474, allocations: 8 kB / 0.8303 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.2474, allocations: 30.56 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2474, allocations: 0 / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000208/0.2476, allocations: 53.62 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.2477, allocations: 55.34 kB / 0.8305 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.2478, allocations: 101.8 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2478, allocations: 29.83 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.2478, allocations: 84.14 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.2479, allocations: 3.953 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2479, allocations: 17.7 kB / 0.8307 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.248, allocations: 314.8 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.2481, allocations: 4 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.2481, allocations: 7.984 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.461e-05/0.2482, allocations: 24.91 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2482, allocations: 0 / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000106/0.2483, allocations: 53.61 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2483, allocations: 10.81 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2483, allocations: 7.875 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2484, allocations: 0 / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.2484, allocations: 4 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2485, allocations: 0 / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.2485, allocations: 8.016 kB / 0.8311 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.2485, allocations: 0 / 0.8311 GB, free: 12.88 MB / 0.6544 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.894e-05/0.2486, allocations: 109.8 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.2486, allocations: 0 / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.2486, allocations: 7.062 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2486, allocations: 0 / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2486, allocations: 4 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2487, allocations: 0 / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2488, allocations: 149.7 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2488, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.2488, allocations: 12.23 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2488, allocations: 0 / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2488, allocations: 7.938 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2489, allocations: 4 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2489, allocations: 0 / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.249, allocations: 76.95 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2491, allocations: 81.09 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2491, allocations: 7.969 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.2491, allocations: 4 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.2491, allocations: 4 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2492, allocations: 0 / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.2492, allocations: 83.27 kB / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2492, allocations: 0 / 0.8316 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001785/0.2494, allocations: 4 kB / 0.8317 GB, free: 12.23 MB / 0.6544 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.0001494/0.2495, allocations: 103.2 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.2497, allocations: 15.98 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2497, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.2498, allocations: 11.94 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.2499, allocations: 5.484 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.2502, allocations: 106.6 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2505, allocations: 0.6806 MB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.2506, allocations: 7.938 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.2506, allocations: 7.438 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.2506, allocations: 0 / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.002205/0.2528, allocations: 292.6 kB / 0.8328 GB, free: 10.95 MB / 0.6544 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)