Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8261/0.8261, allocations: 143.3 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 183.3 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008696, allocations: 91.61 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 278.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005634/0.0005633, allocations: 17.06 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1753, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.3314, allocations: 109.3 MB / 0.8805 GB, free: 332 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3317, allocations: 75.95 kB / 0.8806 GB, free: 256 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3858/0.7174, allocations: 4.331 MB / 0.8848 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7175, allocations: 0 / 0.8848 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.7175, allocations: 0 / 0.8848 GB, free: 109.2 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005488/0.7181, allocations: 389.3 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/0.7182, allocations: 12.16 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.255e-05/0.7182, allocations: 39.31 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.7183, allocations: 0 / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.7184, allocations: 164.1 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.7185, allocations: 4.609 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.7185, allocations: 4.344 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.7187, allocations: 60.89 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.7187, allocations: 0 / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.7187, allocations: 0 / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7188, allocations: 3.984 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.7189, allocations: 45.73 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.7194, allocations: 274.8 kB / 0.8858 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.7195, allocations: 39.42 kB / 0.8858 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.7201, allocations: 460.2 kB / 0.8862 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.7201, allocations: 38.98 kB / 0.8863 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.7201, allocations: 4 kB / 0.8863 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003903/0.7205, allocations: 99.66 kB / 0.8864 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.7205, allocations: 56.14 kB / 0.8864 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.7206, allocations: 96.95 kB / 0.8865 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.7206, allocations: 32.2 kB / 0.8865 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.7207, allocations: 81.31 kB / 0.8866 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.7207, allocations: 4.469 kB / 0.8866 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.7207, allocations: 3.5 kB / 0.8866 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.7208, allocations: 314.9 kB / 0.8869 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.7209, allocations: 26.14 kB / 0.887 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.721, allocations: 20.97 kB / 0.887 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.777e-05/0.721, allocations: 29.84 kB / 0.887 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7211, allocations: 0 / 0.887 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.7213, allocations: 76.09 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7213, allocations: 5.688 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7213, allocations: 0.6094 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7213, allocations: 0 / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.123e-05/0.7214, allocations: 19.52 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7214, allocations: 3.344 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.7215, allocations: 15.91 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.7215, allocations: 3.984 kB / 0.8871 GB, free: 107 MB / 0.5417 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 (2): * Single equations (assignments): 2 * 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 6.098e-05/0.7216, allocations: 114.2 kB / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.7216, allocations: 0 / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.7218, allocations: 92.55 kB / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7219, allocations: 0 / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7219, allocations: 0 / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7219, allocations: 0.6094 kB / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.722, allocations: 169.8 kB / 0.8875 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.722, allocations: 4.562 kB / 0.8875 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.7221, allocations: 14.52 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7221, allocations: 3.266 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7221, allocations: 0 / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7221, allocations: 0.5156 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7221, allocations: 0 / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.7224, allocations: 177.4 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.7224, allocations: 81.62 kB / 0.8877 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.7224, allocations: 0.6094 kB / 0.8877 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.7225, allocations: 8.516 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.7225, allocations: 4 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.7225, allocations: 0.6562 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.7226, allocations: 89.62 kB / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7226, allocations: 0 / 0.8878 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002263/0.7228, allocations: 17.77 kB / 0.8879 GB, free: 106.3 MB / 0.5417 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 (2): * Single equations (assignments): 2 * 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.0005148/0.7233, allocations: 0.7252 MB / 0.8886 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.7236, allocations: 58.59 kB / 0.8886 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7236, allocations: 0 / 0.8886 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.7237, allocations: 19.88 kB / 0.8886 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.7239, allocations: 10.12 kB / 0.8887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.7244, allocations: 152.4 kB / 0.8888 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.7245, allocations: 0.68 MB / 0.8895 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.7246, allocations: 2.938 kB / 0.8895 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.7246, allocations: 8.047 kB / 0.8895 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.7246, allocations: 0 / 0.8895 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.7362, allocations: 1.315 MB / 0.8908 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.7364, allocations: 189.8 kB / 0.8909 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.244, allocations: 3.938 kB / 0.8909 GB, free: 104.4 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)