Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",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.0009781/0.0009781, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002002, allocations: 179.4 kB / 16.91 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 11.98 kB / 496 MB, free: 6.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1842, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.001975/0.1862, allocations: 1.193 MB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.1866, allocations: 120.4 kB / 0.5613 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1866, allocations: 0 / 0.5613 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.1867, allocations: 0 / 0.5613 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.1868, allocations: 11.92 kB / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1869, allocations: 11.98 kB / 0.5613 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.187, allocations: 39.86 kB / 0.5614 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1872, allocations: 19.91 kB / 0.5614 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.1872, allocations: 19.94 kB / 0.5614 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.1873, allocations: 19.91 kB / 0.5614 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1873, allocations: 4 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.1874, allocations: 11.98 kB / 0.5615 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1875, allocations: 15.92 kB / 0.5615 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.1876, allocations: 41.58 kB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1877, allocations: 55.84 kB / 0.5616 GB, free: 7.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1877, allocations: 3.938 kB / 0.5616 GB, free: 7.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1877, allocations: 0 / 0.5616 GB, free: 7.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1877, allocations: 0 / 0.5616 GB, free: 7.391 MB / 430.1 MB 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.0006005/0.1883, allocations: 381.4 kB / 0.5619 GB, free: 6.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.1884, allocations: 16.02 kB / 0.5619 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1884, allocations: 30.75 kB / 0.562 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1885, allocations: 8.844 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1887, allocations: 168.3 kB / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1887, allocations: 4.375 kB / 0.5621 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1887, allocations: 8.312 kB / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.189, allocations: 86.2 kB / 0.5622 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.189, allocations: 3.938 kB / 0.5622 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.189, allocations: 0 / 0.5622 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.189, allocations: 0 / 0.5622 GB, free: 6.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.1894, allocations: 95.92 kB / 0.5623 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1898, allocations: 296.8 kB / 0.5626 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.19, allocations: 82.47 kB / 0.5627 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1902, allocations: 52.92 kB / 0.5627 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.1904, allocations: 105.1 kB / 0.5628 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1905, allocations: 38.56 kB / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1905, allocations: 0 / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000619/0.1911, allocations: 177.5 kB / 0.5631 GB, free: 5.672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1911, allocations: 55.34 kB / 0.5631 GB, free: 5.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1913, allocations: 132.8 kB / 0.5632 GB, free: 5.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1913, allocations: 25.7 kB / 0.5633 GB, free: 5.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1913, allocations: 92.14 kB / 0.5633 GB, free: 5.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1914, allocations: 7.891 kB / 0.5634 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1914, allocations: 13.72 kB / 0.5634 GB, free: 5.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1915, allocations: 314.8 kB / 0.5637 GB, free: 5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1917, allocations: 51.95 kB / 0.5637 GB, free: 4.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.1919, allocations: 48.14 kB / 0.5638 GB, free: 4.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.1922, allocations: 108.8 kB / 0.5639 GB, free: 4.793 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1922, allocations: 0 / 0.5639 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003698/0.1926, allocations: 133.5 kB / 0.564 GB, free: 4.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1926, allocations: 17.66 kB / 0.564 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1926, allocations: 3.938 kB / 0.564 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1927, allocations: 0 / 0.564 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.1928, allocations: 23.97 kB / 0.564 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1928, allocations: 0 / 0.564 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.1929, allocations: 23.98 kB / 0.5641 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1929, allocations: 0 / 0.5641 GB, free: 4.59 MB / 430.1 MB 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.187e-05/0.193, allocations: 113.8 kB / 0.5642 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.193, allocations: 7.906 kB / 0.5642 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.1935, allocations: 145.5 kB / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1935, allocations: 0 / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1935, allocations: 0 / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1935, allocations: 0 / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1937, allocations: 189.5 kB / 0.5645 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1937, allocations: 0 / 0.5645 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1938, allocations: 19.98 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1938, allocations: 4 kB / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.1938, allocations: 0 / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1938, allocations: 0 / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1938, allocations: 3.984 kB / 0.5645 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.1943, allocations: 227.3 kB / 0.5647 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.1943, allocations: 93.09 kB / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1943, allocations: 0 / 0.5648 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1945, allocations: 15.98 kB / 0.5648 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1945, allocations: 0 / 0.5648 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.1945, allocations: 4 kB / 0.5648 GB, free: 3.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1946, allocations: 103.2 kB / 0.5649 GB, free: 3.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1946, allocations: 0 / 0.5649 GB, free: 3.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1949, allocations: 12 kB / 0.565 GB, free: 3.566 MB / 430.1 MB 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.0006934/0.1956, allocations: 0.7669 MB / 0.5657 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003668/0.196, allocations: 99.92 kB / 0.5658 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.196, allocations: 0 / 0.5658 GB, free: 2.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1962, allocations: 59.89 kB / 0.5659 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1964, allocations: 11.94 kB / 0.5659 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.197, allocations: 206.5 kB / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1972, allocations: 0.6887 MB / 0.5667 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.1973, allocations: 11.94 kB / 0.5667 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.1973, allocations: 15.44 kB / 0.5668 GB, free: 1.625 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1973, allocations: 0 / 0.5668 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2087, allocations: 1.537 MB / 0.5683 GB, free: 208 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/0.2091, allocations: 189.4 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.042, allocations: 3.938 kB / 0.5684 GB, free: 15.95 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)