Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.0008196/0.0008197, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004703/0.004703, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001603/0.001603, allocations: 274.2 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8281/0.8281, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003527, allocations: 19.69 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005412/0.1214, allocations: 345.8 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.122, allocations: 379.5 kB / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.122, allocations: 1.906 kB / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.1221, allocations: 3.938 kB / 0.6859 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.455e-05/0.1221, allocations: 0 / 0.6859 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1224, allocations: 85.14 kB / 0.686 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.1224, allocations: 23.97 kB / 0.686 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.939e-05/0.1225, allocations: 0 / 0.686 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.1225, allocations: 15.88 kB / 0.6861 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1226, allocations: 15.92 kB / 0.6861 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1226, allocations: 0 / 0.6861 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.1229, allocations: 276.8 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1229, allocations: 11.91 kB / 0.6864 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.123, allocations: 37.64 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1231, allocations: 100.3 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1231, allocations: 0 / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1231, allocations: 0.5625 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1231, allocations: 1.969 kB / 0.6865 GB, free: 13.7 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003115/0.1235, allocations: 355.8 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1235, allocations: 8.031 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1235, allocations: 38.75 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1236, allocations: 9.531 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/0.1237, allocations: 168.4 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.1237, allocations: 3.812 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1237, allocations: 8.375 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.1238, allocations: 50.19 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1238, allocations: 3.938 kB / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1239, allocations: 0 / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1239, allocations: 0 / 0.6871 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.1239, allocations: 19.98 kB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1241, allocations: 170.1 kB / 0.6873 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.1242, allocations: 57 kB / 0.6873 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.1242, allocations: 28.84 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/0.1248, allocations: 459.9 kB / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1248, allocations: 49.5 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1248, allocations: 0 / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001091/0.1259, allocations: 0.5925 MB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.126, allocations: 53.12 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.126, allocations: 101.8 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.126, allocations: 25.7 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.1261, allocations: 80.14 kB / 0.6887 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.1261, allocations: 48.09 kB / 0.6887 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.1262, allocations: 14.59 kB / 0.6887 GB, free: 11.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.1262, allocations: 318.8 kB / 0.689 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.1263, allocations: 20.62 kB / 0.6891 GB, free: 10.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.1263, allocations: 20.98 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.1264, allocations: 56.84 kB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1264, allocations: 1.062 kB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001395/0.1266, allocations: 108.7 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1266, allocations: 5.875 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1266, allocations: 0.5312 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.1266, allocations: 0 / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.1267, allocations: 31.98 kB / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1267, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.1267, allocations: 0 / 0.6893 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1267, allocations: 4 kB / 0.6893 GB, free: 10.45 MB / 494.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 (13): * Single equations (assignments): 13 * 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 6.591e-05/0.1268, allocations: 115.1 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1268, allocations: 7.938 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.127, allocations: 113.6 kB / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.127, allocations: 0 / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.127, allocations: 4 kB / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.127, allocations: 0 / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1274, allocations: 362.2 kB / 0.6899 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1274, allocations: 0 / 0.6899 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.1275, allocations: 23.98 kB / 0.6899 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1275, allocations: 4 kB / 0.6899 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1275, allocations: 0 / 0.6899 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1275, allocations: 0 / 0.6899 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1275, allocations: 0 / 0.6899 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1277, allocations: 227.6 kB / 0.6901 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.1278, allocations: 89.03 kB / 0.6902 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1278, allocations: 4 kB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1279, allocations: 3.984 kB / 0.6902 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1279, allocations: 4 kB / 0.6902 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1279, allocations: 12 kB / 0.6902 GB, free: 9.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.128, allocations: 83.27 kB / 0.6903 GB, free: 9.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 64 / 0.6903 GB, free: 9.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1282, allocations: 44 kB / 0.6903 GB, free: 9.266 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004996/0.1287, allocations: 0.7943 MB / 0.6911 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1288, allocations: 55.98 kB / 0.6912 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1288, allocations: 0 / 0.6912 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.1289, allocations: 35.98 kB / 0.6912 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1291, allocations: 8 kB / 0.6912 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1301, allocations: 1.407 MB / 0.6926 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.1303, allocations: 0.6848 MB / 0.6932 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1304, allocations: 12.27 kB / 0.6933 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1304, allocations: 23.42 kB / 0.6933 GB, free: 6.117 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1304, allocations: 0 / 0.6933 GB, free: 6.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.405/2.535, allocations: 2.279 MB / 0.6955 GB, free: 4.055 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/2.535, allocations: 248.8 kB / 0.6957 GB, free: 3.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/4.218, allocations: 3.094 kB / 0.6957 GB, free: 3.797 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)