Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 103.5 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.00033, allocations: 9.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001523/0.2272, allocations: 1.195 MB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002262/0.2274, allocations: 116.5 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.2275, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.2275, allocations: 0 / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.336e-05/0.2276, allocations: 15.97 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.2278, allocations: 11.98 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.2278, allocations: 27.91 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.2279, allocations: 8 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.228, allocations: 11.98 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.228, allocations: 27.89 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.228, allocations: 7.938 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.2281, allocations: 19.92 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.2281, allocations: 8 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.2282, allocations: 29.64 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.2282, allocations: 39.92 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2282, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2283, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2283, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 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.0004495/0.2287, allocations: 375.5 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2288, allocations: 12.03 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.2288, allocations: 34.56 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2288, allocations: 7.906 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.2289, allocations: 184.2 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2289, allocations: 0 / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.2289, allocations: 4 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.2292, allocations: 85.66 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2292, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.2292, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2292, allocations: 3.984 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2295, allocations: 103.9 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.2299, allocations: 284.9 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.2301, allocations: 74.53 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.2303, allocations: 109.2 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2303, allocations: 42.5 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2303, allocations: 0 / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000537/0.2309, allocations: 177.5 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2309, allocations: 55.39 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.594e-05/0.231, allocations: 132.3 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.231, allocations: 25.7 kB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2311, allocations: 92.12 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.2311, allocations: 11.84 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.2311, allocations: 0 / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.2312, allocations: 322.8 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.2313, allocations: 51.91 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2315, allocations: 51.95 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2316, allocations: 43.97 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2316, allocations: 3.938 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003084/0.2319, allocations: 133.5 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.232, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.232, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.232, allocations: 8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2321, allocations: 15.98 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2321, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.2322, allocations: 19.97 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2322, allocations: 11.95 kB / 0.904 GB, free: 59.67 MB / 0.6042 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 7.068e-05/0.2323, allocations: 117.8 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.2323, allocations: 3.906 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.2327, allocations: 145.4 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2328, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2328, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2328, allocations: 4 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2329, allocations: 181.6 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2329, allocations: 0 / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.233, allocations: 23.98 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.233, allocations: 0 / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2331, allocations: 0 / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2331, allocations: 0 / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2331, allocations: 4 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.2334, allocations: 235.6 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.2334, allocations: 77.11 kB / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2335, allocations: 0 / 0.9047 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2336, allocations: 23.97 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2336, allocations: 8.047 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.2336, allocations: 3.984 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.2337, allocations: 95.27 kB / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2337, allocations: 0 / 0.9049 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002169/0.2339, allocations: 15.91 kB / 0.9049 GB, free: 58.64 MB / 0.6042 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.0005471/0.2345, allocations: 0.7671 MB / 0.9056 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.2348, allocations: 103.8 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2348, allocations: 0 / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.235, allocations: 55.95 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.2351, allocations: 9.312 kB / 0.9058 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.2356, allocations: 190.3 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2357, allocations: 0.6887 MB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.2357, allocations: 19.84 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.2358, allocations: 15.44 kB / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2358, allocations: 0 / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.2497, allocations: 1.536 MB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.2499, allocations: 190.2 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.76, allocations: 0 / 0.9084 GB, free: 55.07 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)