Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001473/0.001473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.792/1.792, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.000541/0.0005415, allocations: 17.5 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3037, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002146/0.3059, allocations: 1.187 MB / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.3063, allocations: 108.5 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.3064, allocations: 3.938 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.3064, allocations: 0 / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.3065, allocations: 23.91 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3067, allocations: 11.98 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.3069, allocations: 27.95 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.307, allocations: 8 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.3071, allocations: 15.92 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.3071, allocations: 15.92 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3072, allocations: 4 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.3072, allocations: 19.97 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.3073, allocations: 8 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.3073, allocations: 37.64 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.3075, allocations: 39.92 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3075, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3075, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3075, allocations: 0 / 0.7886 GB, free: 10.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006138/0.3081, allocations: 391.3 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3082, allocations: 8.031 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.3082, allocations: 7.906 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3084, allocations: 175 kB / 0.7891 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3084, allocations: 4 kB / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3084, allocations: 0 / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.3087, allocations: 89.59 kB / 0.7892 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3087, allocations: 0 / 0.7892 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3088, allocations: 4 kB / 0.7892 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3088, allocations: 0 / 0.7892 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.3091, allocations: 95.92 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.3096, allocations: 292.8 kB / 0.7896 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3098, allocations: 82.47 kB / 0.7897 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.31, allocations: 109.1 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3101, allocations: 34.56 kB / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.3101, allocations: 4 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.3107, allocations: 173.6 kB / 0.79 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3107, allocations: 51.41 kB / 0.79 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3108, allocations: 125.8 kB / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3109, allocations: 25.7 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3109, allocations: 112 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.311, allocations: 3.906 kB / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.311, allocations: 0 / 0.7903 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3111, allocations: 322.8 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3113, allocations: 55.89 kB / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3114, allocations: 43.95 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3116, allocations: 47.97 kB / 0.7907 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3116, allocations: 0 / 0.7907 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.3119, allocations: 137.5 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3119, allocations: 6.812 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.312, allocations: 0 / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.312, allocations: 4 kB / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3121, allocations: 15.98 kB / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3121, allocations: 0 / 0.7909 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.3122, allocations: 19.98 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3122, allocations: 4 kB / 0.7909 GB, free: 7.859 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 (3): * Single equations (assignments): 3 * 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 8.815e-05/0.3123, allocations: 125.7 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3123, allocations: 0 / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.3127, allocations: 137.5 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3128, allocations: 384 / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3128, allocations: 4 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3128, allocations: 7.984 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.313, allocations: 177.5 kB / 0.7913 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.313, allocations: 0 / 0.7913 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.3131, allocations: 31.95 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3131, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.3131, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3131, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3131, allocations: 4 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.3135, allocations: 239.3 kB / 0.7916 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.3136, allocations: 81.02 kB / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3136, allocations: 0 / 0.7917 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3137, allocations: 15.98 kB / 0.7917 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.3138, allocations: 7.984 kB / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.3138, allocations: 0 / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.3138, allocations: 103.3 kB / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 0 / 0.7918 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002252/0.3141, allocations: 12 kB / 0.7918 GB, free: 6.824 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 (3): * Single equations (assignments): 3 * 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 0.0001626/0.3142, allocations: 107.2 kB / 0.7919 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.3146, allocations: 103.9 kB / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3146, allocations: 0 / 0.792 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.3148, allocations: 55.95 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.3149, allocations: 7.953 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3153, allocations: 156.6 kB / 0.7922 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3156, allocations: 0.6926 MB / 0.7929 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.3156, allocations: 4 kB / 0.7929 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.3156, allocations: 7.438 kB / 0.7929 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3156, allocations: 0 / 0.7929 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.002602/0.3182, allocations: 0.6492 MB / 0.7936 GB, free: 5 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: