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.001283/0.001283, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001258/0.001258, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001442/0.001442, allocations: 75.03 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2912, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.005492/0.2967, allocations: 1.487 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.2974, allocations: 108.5 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.2975, allocations: 0 / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2977, allocations: 3.938 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.2979, allocations: 11.88 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.2983, allocations: 27.91 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2985, allocations: 43.91 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2987, allocations: 11.98 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2988, allocations: 15.92 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.2989, allocations: 27.89 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2989, allocations: 4 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.2991, allocations: 23.92 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.2992, allocations: 19.92 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.2992, allocations: 15.88 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2995, allocations: 59.8 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2995, allocations: 4 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.687e-06/0.2995, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2995, allocations: 0 / 0.7866 GB, free: 1.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00109/0.3006, allocations: 383.2 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/0.3007, allocations: 8.031 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.3008, allocations: 8.844 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3011, allocations: 172.3 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3011, allocations: 4.375 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3012, allocations: 4.375 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.3016, allocations: 70.22 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3016, allocations: 4.125 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3016, allocations: 3.938 kB / 0.7872 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3016, allocations: 4 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.302, allocations: 79.91 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.3026, allocations: 280.8 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3029, allocations: 70.47 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.303, allocations: 56.91 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4983/0.8014, allocations: 106.2 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.8015, allocations: 33.89 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.8015, allocations: 0 / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0006532/0.8022, allocations: 143.9 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.8022, allocations: 51.41 kB / 0.788 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8023, allocations: 127.8 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.8023, allocations: 25.7 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.8024, allocations: 96.39 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.8024, allocations: 8.5 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.8025, allocations: 16.28 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.8025, allocations: 320.8 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.8027, allocations: 35.22 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.8028, allocations: 36.58 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.8031, allocations: 80.23 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8031, allocations: 4.875 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004165/0.8035, allocations: 110.9 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8036, allocations: 7.688 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8036, allocations: 3.719 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8036, allocations: 0 / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.8038, allocations: 14.12 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8038, allocations: 3.531 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.8039, allocations: 13.16 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.8039, allocations: 2.438 kB / 0.7889 GB, free: 48.18 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 (3): * Single equations (assignments): 3 * 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 6.736e-05/0.8039, allocations: 120.7 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.804, allocations: 8.156 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.8043, allocations: 119.5 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.8043, allocations: 0 / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8044, allocations: 2.625 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8044, allocations: 0.75 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.8045, allocations: 183.4 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8045, allocations: 0.5938 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.8046, allocations: 19.56 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8046, allocations: 0 / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.8046, allocations: 0 / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8047, allocations: 2.531 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8047, allocations: 2.625 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.805, allocations: 213.1 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.805, allocations: 79.73 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.805, allocations: 0 / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.8051, allocations: 15.09 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.8052, allocations: 6.188 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.8052, allocations: 1.406 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.8053, allocations: 100.8 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8053, allocations: 0.5 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002345/0.8055, allocations: 20.03 kB / 0.7897 GB, free: 47.53 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 (3): * Single equations (assignments): 3 * 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.000136/0.8056, allocations: 102.3 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.806, allocations: 77.47 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.806, allocations: 2.844 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.8062, allocations: 43.53 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.8064, allocations: 11.59 kB / 0.79 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.8068, allocations: 178 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.8069, allocations: 0.6894 MB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.8069, allocations: 8.094 kB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8069, allocations: 0.625 kB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.002129/0.8091, allocations: 0.8989 MB / 0.7917 GB, free: 46.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (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)