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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00107/0.00107, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.656/1.656, allocations: 205.1 MB / 222 MB, free: 4.715 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.669/1.669, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001873/0.001873, allocations: 70.28 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2865, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003396/0.2899, allocations: 1.542 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.2904, allocations: 120.5 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.2905, allocations: 3.938 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.2905, allocations: 3.938 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.2906, allocations: 7.938 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.2909, allocations: 19.97 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.291, allocations: 39.92 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2911, allocations: 11.94 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.2912, allocations: 23.91 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.2912, allocations: 19.91 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.2912, allocations: 4 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.2913, allocations: 15.98 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.2914, allocations: 19.92 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.2914, allocations: 15.88 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.2916, allocations: 60.12 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2916, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.574e-06/0.2916, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2916, allocations: 7.875 kB / 0.7847 GB, free: 11.96 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.0005882/0.2922, allocations: 375.2 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2923, allocations: 12.03 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.2923, allocations: 38.75 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.2924, allocations: 8.922 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2925, allocations: 168.3 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2925, allocations: 384 / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2926, allocations: 384 / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2928, allocations: 82.14 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2929, allocations: 3.938 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2929, allocations: 3.984 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2929, allocations: 4 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2932, allocations: 75.92 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.2936, allocations: 284.8 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.2938, allocations: 70.47 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.294, allocations: 48.91 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/0.2943, allocations: 109.1 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2943, allocations: 34.56 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2943, allocations: 0 / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005437/0.2949, allocations: 145.5 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2949, allocations: 51.41 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2951, allocations: 129.8 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2951, allocations: 25.7 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2952, allocations: 96.12 kB / 0.7863 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2952, allocations: 7.844 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.2953, allocations: 13.72 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2954, allocations: 322.8 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.2955, allocations: 31.97 kB / 0.7867 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2957, allocations: 39.95 kB / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.296, allocations: 84.72 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.296, allocations: 0 / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.2963, allocations: 109.5 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2963, allocations: 7.984 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2963, allocations: 0 / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2964, allocations: 4 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2965, allocations: 19.86 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2965, allocations: 0 / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.2966, allocations: 15.98 kB / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2966, allocations: 0 / 0.787 GB, free: 9.332 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/0.2967, allocations: 125.8 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.2967, allocations: 7.906 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.2971, allocations: 113.5 kB / 0.7872 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2971, allocations: 3.938 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2971, allocations: 0 / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2972, allocations: 384 / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2974, allocations: 189.6 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2974, allocations: 0 / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.2975, allocations: 19.97 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2975, allocations: 3.938 kB / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2975, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2975, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2975, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.2979, allocations: 215.4 kB / 0.7876 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2979, allocations: 81.02 kB / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.2979, allocations: 0 / 0.7877 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2981, allocations: 11.98 kB / 0.7877 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.2981, allocations: 7.984 kB / 0.7877 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2981, allocations: 4 kB / 0.7877 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.2982, allocations: 102.8 kB / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2982, allocations: 0 / 0.7878 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002364/0.2985, allocations: 11.94 kB / 0.7878 GB, free: 8.348 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 (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.0007695/0.2992, allocations: 0.7601 MB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.2996, allocations: 75.91 kB / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2996, allocations: 0 / 0.7886 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.2997, allocations: 39.91 kB / 0.7887 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3, allocations: 18.66 kB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.3006, allocations: 192.9 kB / 0.7889 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.3009, allocations: 0.6848 MB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.3009, allocations: 4 kB / 0.7896 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.301, allocations: 23.42 kB / 0.7896 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.301, allocations: 0 / 0.7896 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.3135, allocations: 1.615 MB / 0.7912 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.3137, allocations: 200.9 kB / 0.7913 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.99, allocations: 0 / 0.7913 GB, free: 4.691 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)