Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",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.343/1.343, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001069/0.001069, allocations: 180.6 kB / 326.5 MB, free: 2.23 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.567/1.567, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009198/0.0009199, allocations: 88.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 14.67 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2595, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001506/0.261, allocations: 1.195 MB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.2613, allocations: 104.6 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.2613, allocations: 4 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.2613, allocations: 3.938 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.2614, allocations: 7.984 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.2616, allocations: 15.98 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.2617, allocations: 35.88 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2618, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.2619, allocations: 11.98 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.262, allocations: 23.92 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.262, allocations: 4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.2621, allocations: 19.92 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.2621, allocations: 15.86 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2622, allocations: 29.7 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2623, allocations: 35.92 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2623, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.079e-06/0.2623, allocations: 0 / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.2623, allocations: 0 / 0.9016 GB, free: 62.28 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.0006662/0.263, allocations: 383.5 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.2631, allocations: 8.031 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2631, allocations: 34.5 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2632, allocations: 7.906 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2633, allocations: 174.9 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2634, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2634, allocations: 8 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.2637, allocations: 89.64 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2637, allocations: 3.984 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2637, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2637, allocations: 0 / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.264, allocations: 95.92 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.2645, allocations: 296.8 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.2647, allocations: 74.53 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.265, allocations: 105.2 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.265, allocations: 34.56 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.265, allocations: 0 / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005955/0.2656, allocations: 193.4 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2657, allocations: 51.41 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2658, allocations: 125.8 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2658, allocations: 29.69 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.2659, allocations: 92.12 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.2659, allocations: 11.84 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.2659, allocations: 4 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.266, allocations: 314.8 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.2662, allocations: 47.97 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2664, allocations: 59.89 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2665, allocations: 43.95 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2665, allocations: 4 kB / 0.9038 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003142/0.2668, allocations: 133.5 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2669, allocations: 4 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2669, allocations: 0 / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2669, allocations: 4 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2671, allocations: 23.97 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2671, allocations: 0 / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.2672, allocations: 19.98 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2672, allocations: 7.891 kB / 0.904 GB, free: 59.61 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.676e-05/0.2673, allocations: 113.8 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2673, allocations: 7.906 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.2677, allocations: 149.4 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2677, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2677, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2677, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2679, allocations: 181.6 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2679, allocations: 0 / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.989e-05/0.268, allocations: 23.98 kB / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.268, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.268, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.268, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.268, allocations: 0 / 0.9044 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.2684, allocations: 239.7 kB / 0.9047 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.2684, allocations: 81.11 kB / 0.9047 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2684, allocations: 0 / 0.9047 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2685, allocations: 23.97 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.2686, allocations: 3.938 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2686, allocations: 4 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.2686, allocations: 104.9 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2686, allocations: 0 / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002178/0.2689, allocations: 11.91 kB / 0.9049 GB, free: 58.58 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.0005603/0.2694, allocations: 0.7593 MB / 0.9056 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.2698, allocations: 103.9 kB / 0.9057 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2698, allocations: 3.938 kB / 0.9057 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.2699, allocations: 55.95 kB / 0.9058 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2701, allocations: 8 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2705, allocations: 186.3 kB / 0.906 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2707, allocations: 0.6887 MB / 0.9066 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.2707, allocations: 15.86 kB / 0.9067 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.2708, allocations: 19.42 kB / 0.9067 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2708, allocations: 0 / 0.9067 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.2818, allocations: 1.532 MB / 0.9082 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.282, allocations: 181.5 kB / 0.9083 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.868, allocations: 0 / 0.9083 GB, free: 55.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)