Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001367/0.001367, allocations: 187 kB / 17.34 MB, free: 5.762 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 294.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8918/0.8918, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 95.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4039, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002955/0.4069, allocations: 1.777 MB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4081, allocations: 0.6493 MB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.4082, allocations: 0 / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.4082, allocations: 11.86 kB / 0.7694 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.4083, allocations: 19.81 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.4089, allocations: 169.7 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.4091, allocations: 119.6 kB / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.4092, allocations: 60.48 kB / 0.7698 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.4094, allocations: 55.83 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.4095, allocations: 51.7 kB / 0.7699 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.4095, allocations: 16 kB / 0.7699 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.4096, allocations: 47.97 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.4097, allocations: 31.89 kB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.4097, allocations: 55.72 kB / 0.77 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.41, allocations: 147.5 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.41, allocations: 0 / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.41, allocations: 0 / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.41, allocations: 0 / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005807/0.4106, allocations: 437.5 kB / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4106, allocations: 12.03 kB / 0.7706 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.4115, allocations: 108.7 kB / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4117, allocations: 186.4 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.4117, allocations: 63.97 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4118, allocations: 16.36 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.4123, allocations: 169.6 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4123, allocations: 4 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.4123, allocations: 4 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4124, allocations: 0 / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.413, allocations: 159.8 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.414, allocations: 482 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.415, allocations: 222.3 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.4154, allocations: 76.91 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4154, allocations: 15.86 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4154, allocations: 34.56 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.4154, allocations: 0 / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.4164, allocations: 261.5 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4165, allocations: 55.41 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4166, allocations: 141.8 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.4166, allocations: 25.7 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.4167, allocations: 112.1 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.4168, allocations: 27.64 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.4168, allocations: 25.7 kB / 0.7727 GB, free: 13.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.4169, allocations: 318.8 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.4172, allocations: 75.92 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.4175, allocations: 90.44 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/0.4181, allocations: 166.4 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4181, allocations: 0 / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006462/0.4188, allocations: 197.5 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4188, allocations: 7.984 kB / 0.7735 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4188, allocations: 4 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4188, allocations: 3.938 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4191, allocations: 43.89 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4191, allocations: 0 / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.4193, allocations: 19.97 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4193, allocations: 12.3 kB / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.265e-05/0.4194, allocations: 120.2 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4195, allocations: 7.906 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007078/0.4202, allocations: 210.1 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4202, allocations: 4 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4202, allocations: 0 / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4202, allocations: 0 / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.4205, allocations: 234.3 kB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4205, allocations: 0 / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4207, allocations: 35.89 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4207, allocations: 4 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4207, allocations: 3.938 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4207, allocations: 0 / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4208, allocations: 0 / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.4214, allocations: 291.2 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.4215, allocations: 88.95 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.4215, allocations: 3.938 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.4218, allocations: 31.94 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4219, allocations: 8 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4219, allocations: 7.984 kB / 0.7746 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.422, allocations: 109.8 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.422, allocations: 4 kB / 0.7747 GB, free: 11.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002524/0.4222, allocations: 20 kB / 0.7747 GB, free: 11.65 MB / 0.545 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 (6): * Single equations (assignments): 6 * 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.0001193/0.4223, allocations: 103.2 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006473/0.423, allocations: 163.8 kB / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.423, allocations: 0 / 0.775 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.4233, allocations: 79.92 kB / 0.7751 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4236, allocations: 12 kB / 0.7751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.4243, allocations: 285.2 kB / 0.7753 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4245, allocations: 0.704 MB / 0.776 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.4246, allocations: 15.42 kB / 0.776 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4246, allocations: 0 / 0.776 GB, free: 10.23 MB / 0.545 GB Notification: Performance of Templates: time 0.003049/0.4277, allocations: 1.616 MB / 0.7776 GB, free: 8.629 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)